This repo is a service API for Cacther Game app
This repo contains the basic setup for a NestJS app. Use it as a starter for creating new backend services.
-
Install dependencies:
$ npm install
Install NVM and set node versuion to 18.12.1 https://github.com/nvm-sh/nvm/blob/master/README.md
-
Create an environment variables files (
.env
) using.env.example
as a starting point. Make sure to to update env with your values.$ cp .env.example .env
-
Install the NestJS CLI globally (optional but recommended):
$ npm i -g @nestjs/cli
$ npm run prisma:studio
$ npm run dev
You can see the swagger document at http://localhost:4201/swagger
# unit tests
$ npm run test
# test coverage
$ npm run test:cov