This is a project to calculate the IMC of a person.
- Node.js >= 18.14.0
- Node Version Manager (nvm)
- Docker
$ nvm use
$ npm ci
In your local .env file
put the following variables:
# Local development environment variables
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_USER=admin
DATABASE_PASSWORD=admin
DATABASE_NAME=postgres
$ docker compose --env-file ./.env up -d
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Nest is MIT licensed.