Base express.js template with TypeScript and best practices ready for start to coding.
- 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
npm i -g express-typescript-template-generator
express-typescript-template-generator
cd <project-name>
Configure your .env file with the necessary environment variables. Create the .env and .env.dev files at the root of the project with:
- DB_URI=your database uri
npm run tsc
npm run dev
Open the browser in: http://localhost:3000/api/example.
npm start
npm run test
npm run jsdoc
npm run lint
npm run lint:fix
๐ค Deiver Carrascal
- Website: https://ingdeiver.github.io/portafolio/
- Github: @IngDeiver
Give a โญ๏ธ if this project helped you!. Can make pull request to contribute!.
This README was generated with โค๏ธ by readme-md-generator