

Telegram Bot - Node.js And React.jsTelegram Bot - Node.js And React.js
Auto-reply Telegram Bot with multi-bot support, built using Node.js & React.js – fast, flexible, and easy to manage.
Telegram Bot - Node.js And React.js
Auto-reply Telegram Bot with multi-bot support, built using Node.js & React.js – fast, flexib...
Overview
Telegram Bot - Node.js & React.js
Telegram Bot - Node.js & React.js is a powerful and flexible solution designed to manage multiple Telegram bots from a single, user-friendly interface. Built using modern technologies like Node.js for the backend and React.js for the frontend, this platform offers high performance, scalability, and ease of customization.
With built-in auto-reply functionality, you can automate responses to users based on keywords, commands, or message patterns—perfect for handling FAQs, customer support, or engaging with your audience 24/7. Whether you’re managing one bot or many, this system makes it easy to control and monitor them all in one place.
Perfect for developers, businesses, and bot service providers looking to scale their Telegram automation efficiently.
Features
- ✅ Multi-Bot Support: Connect and manage several Telegram bots simultaneously.
- 🤖 Auto-Reply System: Create custom reply rules with ease.
- 📊 Dashboard UI: Clean and responsive dashboard built with React.js.
- 🔒 Secure API Integration: Built with Node.js and secure best practices.
- ⚙️ Customizable & Extendable: Easily add new features or integrate with external services.
- 🚀 Fast & Lightweight: Optimized for performance, suitable for VPS hosting.
Requirements
- 🖥️ Operating System: Ubuntu 20.04+ / Debian 10+ / Any Linux-based VPS
- 🟢 Node.js: v16.x or higher
- 🗃️ Database: MongoDB (Local or Cloud, e.g. MongoDB Atlas)
- 📦 Package Manager: npm or yarn
- 📡 Public Access: A domain or public IP (for webhook access)
- 🔐 Telegram Bot Token: From BotFather
- 🌐 Optional (Frontend): Node.js-compatible environment to serve React app (e.g. Vite, Next.js, or static hosting)
Instructions
- Download & Extract Files
Extracttelegram-bot.zip
, then extract bothbackend.zip
andfrontend.zip
into separate folders. - Install Backend Dependencies
Open terminal and navigate to thebackend
folder:cd path-to-folder/backend
npm install
- Check or Edit Environment Variables (Optional)
A.env
file is already provided in thebackend
folder.
You can open and edit it if you need to change values like the bot token, MongoDB URI, or port. - Set Backend Port (Optional)
By default, the backend runs onPORT=3000
as specified in the.env
file. If you want to change this, simply edit thePORT
variable in.env
. - Run Backend Server
In thebackend
folder, run the following command to start the backend server:npm run dev
The backend should now be running athttp://localhost:3000
- Install Frontend Dependencies
In a new terminal window, navigate to thefrontend
folder:cd path-to-folder/frontend
npm install
- Check or Edit API_URL (Optional)
The frontend uses theAPI_URL
defined insrc/utils/constant.js
to make requests to the backend.
If you need to change the API URL, open theconstant.js
file and update theAPI_URL
variable to match your backend URL (e.g.,http://localhost:3000
). - Run Frontend App
To start the frontend app, run the following command:npm run dev
By default, Vite will run the frontend onhttp://localhost:5173
(or another available port if 5173 is taken). You can check the Vite server log to see the exact port used after starting the app.
Note: Make sure MongoDB is running locally or remotely, depending on your .env
configuration.
Other items by this author
Category | Scripts & Code / NodeJS |
First release | 25 April 2025 |
Last update | 25 April 2025 |
HTML/CSS Framework | Bootstrap, Semantic UI |
Files included | .css, .html, Javascript .js |
Software version | PHP 8.3, .NET 4.6 |
Tags | bot, mongodb, NodeJS, telegram, reactjs, telegram bot, vite, auto reply, mern, mern stack, expressjs, bot telegram |