A simple, beautiful telegram quiz game made using NodeJS and Express
- Make sure you have node and npm installed. Only tested with Node v14+
- Install dependencies using
npm i - Add your server certificates
server.crtandserver.keyin thesecretsfolder for https - Add your bot token and other configuration data to
secrets/config.js - Add the list of roll numbers and corresponding names to
assets/js/data.js. Checkdata.sample.jsfor an example on how the data structure. npm startto start the webserver on port 443.- Set the telegram updates webhook to your server using setWebhook.
This was a quick n dirty implementation of an idea I had. Originally, the node-telegram-bot-api library was used, but then this was later on refactored to use only express. Sharing the game with my class was a grand success! (Disclaimer: this may be a exaggeration)
Gradients from uiGradients.





