$ npm install
docker-compose up -d
Update your mysql config in env
file accordingly if you are not using docker-compose to spin up mysql.
$ npm run migration:run
After migration, to populate the database with some dummy data. It will create 5 players and 5 rewards.
$ npm run seed
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Running e2e tests will spin up a test-db
mysql container.
$ npm run test:e2e
$ npm run test