working
-
fill .env
-
start project
docker-compose up
or
cd database_redis
docker-compose up
npm run start:lambda
- 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