This is the backend part of Localizer.
- Clone this repo:
git clone https://github.com/backmeupplz/localizer-backend - Launch the mongo database locally
- Create
.envwith the environment variables listed below - Run
yarn installin the root folder - Run
yarn develop
And you should be good to go! Feel free to fork and submit pull requests. Also check out /src/conrollers for the API.
- Create
.envwith the environment variables listed below (excludeMONGO) - Run
docker-compose upordocker-compose up -dfor daemon
| Name | Description |
|---|---|
MONGO |
URL of the mongo database |
PASSWORD |
Admin password to use on frontend |
TELEGRAM_TOKEN |
Token of Telegram bot to report errors |
TELEGRAM_ADMIN |
Telegram user id that should receive error reports |
Also, please, consider looking at .env.sample.