Starter for Node Express API projects with Mongo database packed with features like pagination, authentication, powerful middlewares and many more.
Refer to the examples folder for code examples regarding controllers, models, routes and seeds for "to do" items.
Install dependencies
npm ciCopy the example environment variables
cp .env.example .envOptional: Add seeds to your Mongo database
npm run seedStart the local server
npm run devThe goal is to write real code in less than 5 minutes.
Explore the projects examples. In the examples folder, with the local server started, follow these tasks:
- Create a new route in the routes folder
- Create a new controller in the controllers folder
- Link the new route with the new controller
- Test the new route from the browser