This project retrieve and update information about the system solar planets.
node 20.x - Check Dockerfile
NestJS: https://nestjs.com/
Installing NodeJs
We recommend to use NVM (Node Version Manager)
https://github.com/nvm-sh/nvm$ npm installYou can setting up local variables on the file .env
It's necessary a mongodb database running for that you can run this command inside de path ./db:
# Create a mongodb container
$ docker-compose -f stack.yml up
Using npm:
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prodUsing Docker:
$ docker build -t solar-system-service .
$ docker run -e PORT=3000 -p 3000:3000 solar-system
# unit tests
$ npm run test
# integration tests
$ npm run test:integration
# test coverage
$ npm run test:cov# Dev
http://localhost/swagger
#Prod
http://localhost/swagger