Pokemon API
-
Clone repository
-
Install dependencies
$ yarn install
- Install nest cli
$ npm i -g @nestjs/cli
- Rise db
$ docker-compose up -d
-
rename .env.template -> .env
-
fill enviroment variables into .env
-
pupulate db for testing
$ curl --location 'http://localhost:3000/api/seed'
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
- NestJs
- MongoDB