This is a boilerplate for ExpressJS REST API in TypeScript with MongoDB.
- Async/Await instead of Promise Chaining
- Split folders for Controllers, Models and Middlewares.
- ES5 targeted TS
- Size 4 Tab Indent
- Click to use this Template and create a repository
- Clone it to your PC
cd project-foler
and runnpm install
npm run dev
to start Dev Server
- Edit
Dockerfile
,docker-compose.yaml
,dockerbuild.sh
andpackage.json
scripts. - Setup Traefik on Production server, copy the docker-compose.yaml and run
npm run deploy:update
to deploy the API