Backend part of Localizer
- TypeScript 65.3%
- JavaScript 29.6%
- Dockerfile 5.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .github | ||
| scripts | ||
| src | ||
| .dockerignore | ||
| .env.sample | ||
| .gitignore | ||
| docker-compose.yml | ||
| Dockerfile | ||
| LICENSE | ||
| nodemon.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| yarn.lock | ||
Localizer backend
This is the backend part of Localizer.
Installation and local launch
- 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.
Run with docker compose
- Create
.envwith the environment variables listed below (excludeMONGO) - Run
docker-compose upordocker-compose up -dfor daemon
Environment variables
| 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.