1.0.11 • Published 5 years ago
deiver-express-best-template-generator v1.0.11
Base express.js template with TypeScript and best practices ready for start to coding.
Feactures
- Typescript
- Dodumentation with jsdoc (available in jsdoc/docs/index.html)
- Commits convections
- Eslint
- Repository pattern
- DTO pattern
- Validation middlwares
- Error handler
- Mogoose config
- Dotenv config
- Testing with jest
- Pretty logs with winston
- Pretty routes pattern
Installation
npm install -g deiver-express-best-template-generator
Use
deiver-express-best-template-generator
cd <project-name>
npm install
Configure your .env file with the necessary environment variables.
Development usage
npm run tsc
npm run dev
Then open localhost:3000/api/example to test the api.
Production usage
npm start
Run tests
npm run test
Create documentation
npm run jsdoc
Eslint
npm run lint
npm run lint:fix
Author
👤 Deiver Carrascal
- Website: https://ingdeiver.github.io/portafolio/
- Github: @IngDeiver
Show your support
Give a ⭐️ if this project helped you!. Can make pull request to contribute!.
This README was generated with ❤️ by readme-md-generator