A boilerplate/starter project for quickly building production-ready RESTful APIs using Node.js, Express, and Mongoose.
It comes with many built-in features, such as authentication using JWT, request validation, unit and integration tests, continuous integration, docker support, etc. For more details about the features, check the list below.
- Latest ECMAScript features
- Express
- MongoDB object data modeling using Mongoose
- Authentication using passport and role-based authorization
- Unit and integration tests using Jest
- Request data validation using Joi
- Advanced production process management using PM2
- Dependency management with Yarn
- Logging using winston and morgan
- Centralized error handling mechanism
- Environment variables using dotenv and cross-env
- Git hooks with husky and lint-staged
- Linting with ESLint and Prettier
- Consistent editor configuration using EditorConfig