An Express.js
starter project, built using Yarn2
and Typescript
.
The starter project includes the following out of the box:
- Authorization middleware
- Error handling middleware
- Logger middleware
- Validation middleware
- Database integration (TypeORM + PostgreSQL)
- Containerization via Docker
- Unit tests (100% coverage)
- Integration tests (100% coverage)
- Complete CI workflow (build -> test -> publish)
1. Clone the application
git clone https://github.com/nicolaspearson/node.express.starter.git
2. Build and run the app
yarn start:dev
The app will start running at http://localhost:3000
yarn start:docker
The app will start running at http://localhost:3000
To generate missing migrations:
yarn db:migration:generate:missing InitialSchema
Never commit directly to main, create a feature branch and submit a pull request.