sample project using Node.js, TypeScript, Express.js, Swagger, Docker
docker
brew cask install docker
docker-compose up
then you can access to
- (node) http://localhost:3000/
- (swagger-ui) http://localhost:8081/
the db will be stored one level up from the clone directory ../mongo-data/db
change the docker-compose.yaml if other location is desired
volumes:
- ../mongo-data/db:/data/db