Summary
This chapter got us started on the introduction to RESTful APIs and their design concepts. First, we defined what an API is and then expanded on REST. Thereafter, we looked into design practices that have been employed by established companies and described the guiding framework for web standards.
In the subsequent sections, we looked into how MongoDB Atlas is implemented with Node. We also performed an exercise on creating MongoDB Atlas server components, known as clusters, and connected them with applications. Later in this section, we established connections with applications using middleware such as the native MongoDB driver and Mongoose. We also described how schemas are created and defined with Mongoose. Finally, we performed an exercise on model creation using the default Mongoose method.
In the final sections of this chapter, we implemented various features in Express with Node. These included routing HTTP requests, configuring middleware, error handing, rendering HTML views...