Todorant backend code
- Clone this repo:
git clone https://github.com/backmeupplz/todorant-backend
- Launch the mongo database locally
- Create
.env
with the environment variables listed below - Add credentials to the
assets
folder - 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. Documentation is also available in this repo.
Name | Description |
---|---|
MONGO |
URL of the mongo database |
JWT |
secret for JWT |
FACEBOOK_APP_ID , FACEBOOK_APP_SECRET |
Facebook login credentials |
TELEGRAM_LOGIN_TOKEN |
Telegram login bot |
WIT_LANGUAGES |
A map of language names to Wit.ai tokens |
Also, please, consider looking at .env.sample
.
Any commit pushed to master gets deployed to backend.todorant.com via CI Ninja.