Summary
In this chapter, we learned about a few new things that can help our application better. We learned how to add an authentication layer to our application to secure it, which helps protect our application from being accessed anonymously. We also looked at adding middleware to our application and showed how easy it was to add different middleware to our application without changing much code.
Lastly, we looked at session handling and learned how to use it to track user information and a user’s journey with our application. Since session handling is not stored permanently, we looked at using the redis
data store to store the user session information, which allows the application to remember user information anytime the application is restarted.
In the next chapter, we will look at writing code that will process information back and forth between the browser and our application. We will look at building a REST API that will be used to perform different operations on...