Skip to content

Borodutch/todorant-backend

 
 

Repository files navigation

Todorant backend code

Installation and local launch

  1. Clone this repo: git clone https://github.com/backmeupplz/todorant-backend
  2. Launch the mongo database locally
  3. Create .env with the environment variables listed below
  4. Add credentials to the assets folder
  5. Run yarn install in the root folder
  6. 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.

Environment variables

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.

Continuous integration

Any commit pushed to master gets deployed to backend.todorant.com via CI Ninja.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.9%
  • JavaScript 3.1%