👉Get the Full Telegram Clicker Game App Code: https://nikandr.com/
My Contacts
Website: https://nikandr.com/
Telegram: https://t.me/nikandr_s
Email: [email protected]
Links from the video
Telegram channel with news / updates: https://t.me/clicker_game_news
Github Repository of the Lesson: https://github.com/nikandr-surkov/Mak...
How to deploy app and launch in Telegram: • Set Up Next.js 14 Telegram Mini App Clicke...
In this guide, I'll show you how to connect your Telegram Mini App to a MongoDB database using Prisma in a Next.js 14 project. We'll implement user creation, retrieve user data, and set up a simple point system to track user activity. By the end of this video, you’ll have built the foundation of a simple Telegram clicker game with a fully functioning backend!
What You Will Learn:
Connecting your Next.js 14 project to a MongoDB database using Prisma
Setting up server-side user creation and retrieval based on Telegram user data
Implementing a basic points system where users can earn and update their points
Using React hooks (useState, useEffect) to manage user data and interactions with the backend
Handling Prisma setup and database management
Key Steps Covered:
Initial Setup: Creating a new Next.js 14 project and configuring Prisma with MongoDB.
Database Connection: Connecting to MongoDB and managing database access securely.
User Creation: Handling Telegram user data to create new users or fetch existing ones from the database.
Points System: Implementing a simple mechanism to increase and store user points.
UI Design: Building a simple user interface to display user data and interact with the app.
Who Should Watch:
Web Developers: Perfect for those looking to add MongoDB and Prisma integration to their Next.js projects.
Telegram Bot Creators: Ideal for developers building Telegram Mini Apps that require backend support and user management.
TON Blockchain Developers: Great for those exploring backend integration with Telegram Mini Apps using Prisma and MongoDB.