Hackathon API.
$ cp .env.example .env
$ yarn
# development
$ yarn start
# watch mode
$ yarn start:dev
# production mode
$ yarn start:prod
$ yarn typeorm migration:generate -n migrations_name
$ yarn typeorm migration:run
$ yarn typeorm migration:revert
# unit tests
$ yarn test
# e2e tests
$ yarn test:e2e
# test coverage
$ yarn test:cov
# sync changes(for .env compare with .env.example)
1. git pull origin <branch>
# install dependencies
2. yarn
# build dist
3. yarn build
# run migration (if any)
4. yarn typeorm migration:run
# start service:
5. pm2 start dist/main.js --name <name>:<port>