The project Kickoff
This is so exciting! We are going to apply all the knowledge that we have learned in the previous chapters to build a CRUD REST API with Express. We will use the file system to store the data, and we will use the most common Express middleware to build a robust API.
The project goal
We are going to build a microblogging platform called “Whispering,” where users can create, read, update, and delete whispers (short posts).
Preview
While we will focus on the backend, we will have a basic frontend included to test the API. So, we will start working with a simple app skeleton that we will evolve over the next chapters.
Figure 11.1 – Preview of the home page from the project in the web browser
Requirements
The requirements will evolve over the next chapters, but for now, we will focus on the following:
- Adding a welcome landing page using a template engine
- Serving static files
- Adding a CRUD...