Backend for the Borodutch Book website
- Clone this repo:
git clone https://github.com/backmeupplz/borodutch-book-backend
- Launch the mongo database locally
- Create
.env
with the environment variables listed below - Run
yarn
in the root folder - Run
yarn develop
And you should be good to go! Feel free to fork and submit pull requests.
Name | Description |
---|---|
MONGO |
URL of the mongo database |
TELEGRAM_TOKEN |
Telegram bot token for reporting |
TELEGRAM_CHAT_ID |
Telegram chat id for reporting |
PORT |
Port to run server on (defaults to 1337) |
Also, please, consider looking at .env.sample
.
Any commit pushed to main
gets deployed to backend.book.borodutch.com via CI Ninja.