A minimal boilerplate for building an Express 5 + Typescript application.
- Node 24
- Express 5
- TypeScript
- Prisma + PostgreSQL setup
- Dockerfile for production
- Vitest, ESLint and Prettier configured
express/
├── .githooks/ # git hook scripts
├── .postgres/ # local PostgreSQL-related files
├── prisma/ # Prisma schema and migrations
├── src/ # application source code
│ ├── generated/ # files generated by Prisma
│ ├── controllers/ # endpoint controllers
│ ├── libs/ # shared libraries and Prisma setup
│ ├── middlewares/ # Express middlewares
│ ├── repos/ # data access layer
│ ├── routes/ # application routes
│ ├── services/ # business logic
│ ├── settings/ # application settings and config
│ ├── types/ # shared project types
│ ├── utils/ # useful helper functions
│ ├── app.ts # Express app setup
│ └── index.ts # application entrypoint
├── docker-compose.yml # local development services
├── docker-compose.build.yml # build-oriented compose file
├── Dockerfile # container image definition
├── Makefile # common development commands
└── package.json # scripts and dependencies
Use the Makefile to see the available local development commands:
make helpCommon commands:
make up # start local docker services
make run # run the application in development mode
make test # run tests
make down # stop and remove local docker servicesPlease see LICENSE file.