Skip to content

An application that helps people book appointments at Russian consulates

License

Notifications You must be signed in to change notification settings

russia-consulate/webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3ab1729 · Aug 7, 2023

History

21 Commits
Jul 22, 2023
Jul 22, 2023
Jul 22, 2023
Aug 7, 2023
Jul 22, 2023
Jul 22, 2023
Jul 22, 2023
Jul 22, 2023
Jul 22, 2023
Jul 22, 2023
Jul 22, 2023
Jul 22, 2023
Jul 29, 2023
Jul 22, 2023
Jul 22, 2023
Jul 22, 2023
Jul 31, 2023
Jul 22, 2023
Jul 28, 2023
Jul 22, 2023
Jul 22, 2023
Jul 31, 2023
Jul 31, 2023

Repository files navigation

Russia Consulate Bot WebApp

Demo.mp4

Development

  1. cp .env.example .env
  2. yarn dev
  3. The app is ready at https://192.168.1.127:3001

Local settings

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.

Bot setup

  1. Go to BotFather
  2. Create a new bot
  3. Select the bot in the BotFather menu
  4. Go to Bot Settings -> Menu Button
  5. Choose any name and this link: https://192.168.1.127:3001
  6. Now you can see a menu button that opens your Web App when clicked

Certificate renewing

  • Install mkcert
  • Execute yarn certs:generate