In this project, you will be connecting boilerplate middleware to your Express application and creating your own middleware.
Clone the practice from the starter.
cd
into the server
folder.
npm install
the dependencies.
Run npm run dev
to start the server at http://localhost:5000 in
development.
Here is the list of all the phases in this practice:
- Boilerplate Express Middleware (Basic)
- familiarize yourself with some boilerplate Express middleware and how to use them in an Express application
- Creating Express Middleware (Basic)
- create Express middleware and connect them to an Express application
- API Resource Routers (Basic)
- create Express routers and connect them to an Express application
- Development vs. Production Error Handling (Intermediate)
- handle Express errors differently depending on the environment
- Nested Resources (Intermediate)
- created nested Express routers and connect them to an Express application or router