Sample project for Write Modern Web Apps with the MEAN Stack by Jeff Dickey
This repo has separate branches for each chapter with code for each one to follow along.
As JavaScript and the web is always changing, here are some of the ways this codebase has moved away from the book:
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.
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.