Sample project for Write Modern Web Apps with the MEAN Stack by Jeff Dickey
Chapters
- Chapter 1: How Modern Web Architecture Is Changing
- Chapter 2: Why JavaScript Is a Good Choice for Modern Apps
- Chapter 3: Introducing the Social Networking Project GitHub .zip
- Chapter 4: Building a Node.js API GitHub .zip
- Chapter 5: Integrating Node with Angular GitHub .zip
- Chapter 6: Automating Your Build with Gulp GitHub .zip
- Chapter 7: Building Authentication in Node.js GitHub .zip
- Chapter 8: Adding Routing and Client Authentication GitHub .zip
- Chapter 9: Pushing Notifications with WebSockets GitHub .zip
- Chapter 10: Performing End-to-End Testing GitHub .zip
- Chapter 11: Testing the Node Server GitHub .zip
- Chapter 12: Testing Angular.js GitHub .zip
- Chapter 13: Deploying to Heroku GitHub .zip
- Chapter 14: Deploying to Digital Ocean
If you see anything that is confusing, seems like a step is skipped, or that is different from the book than here, please submit an issue. I want to make sure this code is as helpful as possible and should get back to you quickly.
Changes
Express res.send -> res.sendStatus
Express deprecated the syntax for simple HTTP responses. You used to be able to say res.send(401)
and it would reply 'Unauthorized' along with the HTTP code, this is deprecated in favor of res.sendStatus(401)
which does the same thing.