API full REST built with Nest
The idea is to manage multiple functionalities against different personal projects to apply the best practices in backend (SOLID, DRY, etc)
$ npm install# development
$ docker compose -f ./docker-compose.dev.yml upIf you want to develop full local you can change
MONGO_DB_CLUSTER_URL=mongodb://mongodb-hz-api:27017/hs-server-api
MONGO_DB_CLUSTER_URL=mongodb://127.0.0.1:27017/hs-server-api
in this way, you can run the mongodb service and to be recognized by the local machine
URL generated by the mongodb container
http://localhost:3001/api/tasks
Use the following url in local to access swagger docs
http://localhost:3001/api/docs#/
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov1- Abrir consola y pegar
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --no-first-run --no-default-browser-check --user-data-dir=$(mktemp -d -t 'chrome-remote_data_dir')
1.1 - Obtener link 'ws://...//' del output del comando y pegar en CHROME_NAV_REMOTE_ENDPOINT
2- ir a linkedin y loguearse y no cerrar ventana
3- ejecutar api
Grafana