This repo contains a NEXT.JS website (super early WIP) and a telegram bot making use of serverless functions (still WIP, but hey it's working).
Disclaimer: This is a learning project, so neither the app is complete nor the learning content will be complete.
Here are the links to the Telegram Bot:
- Production Bot: @thai_learning_game_bot
- Staging Bot (for local development): @thai_learning_game_staging_bot
- Run
$ npm run ngrok
and copyForwarding URL
(e.g.https://<some-number>.ngrok.io
) - Copy content of
.example.env
in.env
file and insert correct tokens including ngrok URL - Call
$ npm run dev
- Open
<domain>/api/register
to register the bot instance URL with telegram - Play with the bot 🤖
This repo is deployed on Vercel
on every push on the main
branch. Make sure environment variables are set here.
todo
https://www.figma.com/file/gcWsOdnG2LzC7BF6G7qsiw/Learn-Thai