A Node microservice implementation with typescript, swagger and docker
cd to root folder
Install typeorm as a global dependency if you haven't then run typeorm init --name user-microservice --database mysql --express
. Note user-microservice
is the name of the microservice.
Add the docker configuration for the new microservice.
cd folder-name
Start Development server npm run dev
Check for lint errors npm run tslint
Install and start docker by docker-compose up
.
- Setup Swagger.
- Setup Unit testing.
- Setup Nginx server on docker.
- Finish up Docker configuration.