T²CR Dashboard Backend
Service and database for caching statistics on the T²CR and Badges.
- Clone this repo.
- Duplicate
.env.example, rename it to.envand fill in the environment variables. - Run
npm installto install dependencies and thennpm startto run the service in development mode.
To run the service in production mode use
node -r dotenv/config index.js.
To start with PM2 use
pm2 start --node-args="-r dotenv/config" index.js --name t2cr-dashboard-backend