JO KEN PO API development with NestJS + Prisma + Postgres. This project is the classic game JO KEN PO.
You can play JO KEN PO for here.
$ npm install
You need create a copy of the file .env.example
in the project root and rename to .env
with your environment variables. You can run this script for it:
# create a copy of the .env.example and rename to .env
$ cat .env.example > .env
You need have install docker and docker-compose to up postgres database.
# run to start project in dev mode
$ npm run start:dev
# run
$ npm run test
You need have install docker and docker-compose to up postgres database. Obs: you cannot edit docker-compose.yaml and .env.example to work.
# run
$ npm run test:integration-local