This app manages your tournaments and generates the schedules.
The API documentation is generated with Swagger. API Documnentation
We recommand using Homebrew on your MAC or chocco on windows.
Install the following prerequisites with brew
# install NodeJS
brew install node
# install yarn
brew install yarn
# install mysql database
brew install mysql
Now we can install our dependencies with the following command.
$ yarn install
Copy the .env.examle
and rename it to .env
. In this file collects all the global configurations.
Create a database with the name copa
. Then run yarn run db:setup
. This will migrate the database and seed some data into it.
Change the vairables in the .env
to correct mail server and user credentials.
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e
# test coverage
$ yarn run test:cov