This is a simple nodejs, express boilerplate that comes with pretty much anything you need to build small and robust express applications.
This template comes with bunch of ready made configurations like
- Rate Limiter
- Error Middleware to catch errors anywhere in your entire application.
- Not Found Middleware to catch undefined routes or methods.
- Config module to specify simple configurations
- Error and App constants to store error messages and app constants.
- Logger module to log errors and info to the console or file.
- Dockerfile to build a docker image of the application.
- Prisma ORM to interact with the database.
- Swagger documentation to document the API.
- Jest and Supertest for testing the application.
- Service base architecture to structure the application.
- Eslint and Prettier to enforce code style and formatting.
- Feature based architecture to structure the application.
Clone the repository
git clone https://github.com/Adedoyin-Emmanuel/nodejs-template.git .
Install the dependencies
npm install
Start the development server
npm run dev
If you'd like to contribute to nodejs-template, please follow these steps:
- Fork the repository
- Create a new branch
- Make your changes and commit them
- Push your changes to your fork
- Create a pull request :)
NodeJs-Template is licensed under the MIT License.