You need to set the environment variable DATABASE_URL
as the url to your postgresql database and BOT_TOKEN
which you get from the telegram bot the botfather.
use
npm run test
to run tests.
In order to run the system start the bot with
node index.js
in one terminal, and start the api for front-end communication with
node api.js
This project is under the MIT license.