Questions(with answers) are parsed from next repo: https://github.com/lydiahallie/javascript-questions
- node >= 8.x
- redis (is used to persist user answer), by default settings answer should be send in terms of 5 minutes
$ export botToken=<tokenValue> # bot token (https://tlgrm.ru/docs/bots)
$ export redisHost=<hostValue> # default fallback is 'localhost'
$ export redisPort=<porttValue> # default fallback is 6379
- provide valid .md 'data/js-questions.md' https://github.com/lydiahallie/javascript-questions
- run parse command
$ npm run parse-md-in-json
$ npm i
$ npm run start:dev