A minimal example to implement user authentication using Telegram's Mini-App feature.
Repo contains two folders, mini-app and nest-app.
Both are templates and then being worked upon
- mini-app - Template from https://github.com/Telegram-Mini-Apps/nextjs-template
- nest-app - Generated using https://docs.nestjs.com/first-steps
- cd into
nest-appfoldercd nest-app - Copy
.envfilecp sample.env .env
- Fill in your bot token in BOT_TOKEN
- Run
nest-appin dev modepnpm run start:dev
Note
For running mini-app, follow instructions on ReadMe on the folder.