/schedule-brest-bot

Telegram Channels: @icebrest, @dvvsbrest

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Build Status

Netlify Status

working

  1. fill .env

  2. start project

docker-compose up

or

cd database_redis
docker-compose up

npm run start:lambda
  1. setup bot
curl https://api.telegram.org/bot<TOKEN>/setWebhook?url=https://schedule-brest-bot.netlify.com/.netlify/functions/callback

testing

curl localhost:9000/check-schedules
curl https://api.telegram.org/bot<TOKEN>/setWebhook?url=https://<NGROK ID>.ngrok.io/callback
~/ngrok http 9000

api

https://schedule-brest-bot.netlify.com/.netlify/functions/ice

https://schedule-brest-bot.netlify.com/.netlify/functions/dvvs