Back-End service for the critical error main site, doesn't include tabletop service.
-
Clone the project
git clone https://github.com/rpg-critical-error/api-user.git -
Install dependencies
yarn install -
Change your readme file
Clone .env.example to .env and change values inner file
-
Run database commands
Migrations
./node_modules/.bin/sequelize db:migrateSeeders
./node_modules/.bin/sequelize db:seed:all
-
Run command to work or build
Server as developer
yarn devRun tests
yarn testRun build compilation
yarn build -
Run with docker-compose
Run with docker-compose
sudo docker-compose up