Welcome to Express with typescript and good practices template 👋

License: MIT

I create this repository to have a express.js template with good practices and reuse in projects.

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

Install

git clone https://github.com/IngDeiver/node-ts-template.git
npm install

Development usage

npm run tsc
npm run dev

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

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