This is the backend part of Localizer.
- Clone this repo:
git clone https://github.com/backmeupplz/localizer-backend
- Launch the mongo database locally
- Create
.env
with the environment variables listed below - Run
yarn install
in 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
.env
with the environment variables listed below (excludeMONGO
) - Run
docker-compose up
ordocker-compose up -d
for 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
.