{"repo":"Telegram-Mini-Apps/reactjs-template","free":true,"listed":false,"github":"https://github.com/Telegram-Mini-Apps/reactjs-template","clone":"git clone https://github.com/Telegram-Mini-Apps/reactjs-template.git","description":"Telegram Mini Apps application template using React, tma.js, TypeScript and Vite.","language":"TypeScript","stars":425,"topics":["react","typescript","vite"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Telegram Mini Apps React Template This template demonstrates how developers can implement a single-page application on the Telegram Mini Apps platform using the following technologies and libraries: - React - TypeScript - TON Connect - @tma.js SDK - Telegram UI - Vite The template was created using npm. Therefore, it is required to use it for this project as well. Using other package managers, you will receive a corresponding error. Install Dependencies If you have just cloned this template, you should install the project dependencies using the command: Scripts This project contains the following scripts: - dev . Runs the application in development mode. - dev:https . Runs the application in development mode using locally created valid SSL-certificates. - build . Builds the application for production. - lint . Runs eslint to ensure the code quality meets the required standards. - deploy . Deploys the application to GitHub Pages. To run a script, use the npm run command: Create Bot and Mini App Before you start, make sure you have already created a Telegram Bot. Here is a comprehensive guide on how to do it. Run Although Mini Apps are designed to be opened within Telegram applications, you can still develop and test them outside of Telegram during the development process. To run the application in the development mode, use the dev script: [!NOTE] As long as we use vite-plugin-mkcert, launching the dev mode for the first time, you may see sudo password request. The plugin requi","default_branch":null,"files":null,"tree":[],"storefront":"/r/Telegram-Mini-Apps","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Telegram-Mini-Apps/reactjs-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}