Tastiest Backend - NestJS
Starting with PM2
pm2 start yarn --interpreter bash --name tastiest-backend -- start
Grab Postgres internal IPs
You might want to do this to start a new server from pgAdmin etc.
https://stackoverflow.com/a/60668718
- Grab network ID
sudo docker ps
- Grab internal IP
docker container inspect -f '{{ .NetworkSettings.IPAddress }}' {network_id_from_above}
Serving Documentation
yarn documentation:serve
Running the app
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Test
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov