1.0.11 • Published 5 years ago

deiver-express-best-template-generator v1.0.11

Weekly downloads
-
License
ISC
Repository
github
Last release
5 years ago

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

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

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago