T²CR Dashboard Backend
Service and database for caching statistics on the T²CR and Badges.
Get Started
- Clone this repo.
- Duplicate
.env.example
, rename it to.env
and fill in the environment variables. - Run
npm install
to install dependencies and thennpm start
to 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