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.git2. Build and run the app
yarn start:devThe app will start running at http://localhost:3000
yarn start:dockerThe app will start running at http://localhost:3000
To generate missing migrations:
yarn db:migration:generate:missing InitialSchemaNever commit directly to main, create a feature branch and submit a pull request.