Api for the Attendio Attendance App.
Create a '.env' file in the root directory.
The variables required can be found in the /src/constants/EnvVars.ts
Ensure to add the following varaibles so as to successfully build the local postgres db on local
- POSTGRES_USER
- POSTGRES_PASSWORD
run the command
docker compose up -d
This will build and start local db on a docker image .
Once the db is up and running, you can then run
npm run start:dev
$ npm install
# 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.