Skip to content

Industrial Project for MSIT-SE at Innopolis University

Notifications You must be signed in to change notification settings

aabounegm/MTS-Telegram-bot

Repository files navigation

MTS Telegram bot

This project is a Telegram bot web app for the pay.mos.ru service managed by MTS. It allows users of the portal to pay their fines and donate to charities through the Telegram bot.

Developing

Once you've installed the dependencies with npm install, start a development server:

npm run dev

For the Telegram bot (using polling method) to run, you need to access the dev server at least once in the beginning to run the script in hooks.server.ts.

Since the bot only works with HTTPS (unless you setup a testing account on a Telegram test server), the web app development must be done on the production server.

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

The recommended way to run the production build is using npm start because it also sets the appropriate headers for CSRF protection.

Demo

MTS Payment Telegram bot is available at the following link: MTS Payment Telegram Bot

Links

About

Industrial Project for MSIT-SE at Innopolis University

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •