Demo.mp4
cp .env.example .envyarn dev- The app is ready at https://192.168.1.127:3001
To open the Web App in your browser, you can mock the init_data value using the DEV_INIT_DATA env-variable. The value of init_data can be retrieved through the console inside the Web App in Telegram: Telegram.WebApp.initData.
- Go to BotFather
- Create a new bot
- Select the bot in the BotFather menu
- Go to
Bot Settings->Menu Button - Choose any name and this link: https://192.168.1.127:3001
- Now you can see a menu button that opens your Web App when clicked
- Install mkcert
- Execute
yarn certs:generate