Summary

In this chapter, we made a lot of progress. We built one of the core features of our social network—user management. We learned how to store data in a MongoDB database and use sessions to authenticate users.

In the next chapter, we will implement the functions of friend management. The users of any social network will be familiar with the same. At the end of the next chapter, users will be able to make friends using our application.

Get Node.js By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.