Welcome to the first guide in the Make TON Telegram Mini App series! This project demonstrates how to create a simple Telegram Mini App using Next.js 14 that displays user data from Telegram.
This Telegram Mini App showcases:
- Setting up a Next.js 14 project for Telegram Mini Apps
- Retrieving and displaying user data from Telegram
- Basic TypeScript usage for type safety
- Node.js (version 14 or higher)
- npm (comes with Node.js)
- A Telegram account
- Clone the repository:
git clone https://github.com/nikandr-surkov/Make-TON-Telegram-Mini-App-1.git
cd Make-TON-Telegram-Mini-App-1
- Install dependencies:
npm install
- Run the development server:
npm run dev
- Open http://localhost:3000 in your browser to see the result.
-
Build the app: npm run build
-
The static files will be generated in the
out
directory. You can deploy these files to any static hosting service.
For video tutorials and more in-depth explanations, check out my YouTube channel:
Stay tuned for the next guide in the Make TON Telegram Mini App series, where we'll explore more advanced features and TON integration!