Part 4. Managing authentication and user sessions
The ability to identify individual users is a key piece of functionality for most web applications. Visitors should be able to register their details so that they can log back in as returning users at a later date. When users are registered and logged in, the application should be able to make use of the data.
In chapter 11, you look at how authentication works in the MEAN stack. The focus is on creating an authentication API that you’ll use to power the user-centered parts of the Angular SPA.
Chapter 12 rounds things off by integrating the API you created in chapter 11 and updates the Angular application to take advantage of the new capabilities introduced. We also expand on some of the themes and patterns that we introduced to you in chapter 10.