A minimalistic typescript nodejs express boilerplate application for REST API
- Typescript with typings definitions
- Environment settings config files for different environments
- DI
- Validation middleware
- Loging with Winston
- Docker dev environment
Install npm dependency
npm install
Compile JavaScript
npm run build
Once JavaScript is compiled app can be run locally on system with NodeJS by
npm start
App should be now accessible from the browser level at localhost:3000
To build docker image
docker build -t express-typescript-api .
docker run -t --rm -p 3000:3000 -v $(pwd):/app express-typescript-api
App should be now accessible from the browser level at localhost:3000