zenoli / rb-scoreboard-backend-legacy

Stats scrapter for qatar word cup 2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ravensburger Scoreboard - Backend

Backend API providing live scores and statistics during world cups/euros.

Run

In order to run the app, make MONGO_URL-environment variable has be set with the valid Mongo DB credentials. For local development it is recommended to create .env file in the project root directory with the following content:

MONGOHOST={{my-mongo-host}}
MONGOUSER={{my-mongo-user}}
MONGOPASSWORD={{my-mongo-password}}
MONGO_URL="mongodb+srv://${MONGOUSER}:${MONGOPASSWORD}@${MONGOHOST}"

Make sure to replace {{my-mongo-host-url}}, {{my-mongodb-user}} and {{my-mongodb-password}} with appropriate values.

Then, simply run npm run dev.

Alternatively, if you can use:

MONGO_URL={{my-mongo-url}} npm run dev

About

Stats scrapter for qatar word cup 2022


Languages

Language:TypeScript 81.6%Language:Shell 12.9%Language:Dockerfile 2.8%Language:JavaScript 2.6%