This is a sample project of NestJS on Docker.
Node v12.16.1
NestJS
$ docker-compose build
$ docker-compose run --rm app "yarn && yarn migration:run"
$ docker-compose run --rm app "yarn test"
$ docker-compose run --rm --service-ports app "yarn start"
Access http://{DockerIP}:3000
- ApiDoc:
http://{DockerIP}:3000/api/
- Create api and doc: See https://qiita.com/tktcorporation/items/ba2306ae46d99cf37035
- Create api with using typeorm: See https://qiita.com/tktcorporation/items/5f7ad549822bfcca6f98