In the previous chapter, we built up our application using JavaScript/HTML and integrated it with RESTful APIs with AJAX. You also learned how to set cookies on the client and sessions on the server for a better experience for users. In this chapter, we will focus on improving our backend database by using a NoSQL database, such as MongoDB instead of an SQLite database, which we are currently using, or a MySQL database, and integrate our application with it.
The topics that we will cover in this chapter are as follows:
- Setting up MongoDB service
- Integrating an application with MongoDB