Yeoman generator for creating REST APIs with Express
- RESTful API - Using Express
- Standard error responses - Using http-errors
- Logging - Using winston and morgan
- Error linting - Using ESLint
- Code formatting - Using Prettier
- Pre-commit linting hook - Using husky and lint-staged
- API documentation - Using Swagger and ReDoc
- Object validation - Using celebrate/Joi
- Database ORM - Using Sequelize
- Email sending - Using nodemailer
- Testing - Using mocha, chai, supertest and coverage with nyc
First, install Yeoman and generator-exprest-api using npm.
npm install -g yo generator-exprest-api
Then generate your new project with:
yo exprest-api
NOTE: No need to create a new folder before running the command, the generator will do it for you.
MIT © Arthur Fauquenot