🔧 WhatsApp Group Message Automation – Full Stack Project Prompt 📄 Project Overview We need a full-stack WhatsApp automation system that enables sending 2,000–3,000 scheduled messages to a WhatsApp group using two fixed WhatsApp numbers. The system must include an admin dashboard to upload messages, schedule them, and manage group campaigns.
🎯 Goals for Version 1 (MVP) ✅ Support 1 WhatsApp group
✅ Use 2 fixed WhatsApp numbers (QR login based)
✅ Handle 1 campaign at a time
✅ Simple dashboard for scheduling & managing messages
📦 Tech Stack Requirements Preferred Technologies:
Frontend: React or Next.js (Vercel-compatible)
Backend: Node.js + Express.js
WhatsApp Automation: Baileys (preferred) or Venom.js
Database: SQLite (simple and file-based) or Firebase (if real-time sync is needed)
Auth: JWT or session-based authentication (internal use)
🧩 Functional Requirements ✅ WhatsApp Automation Login via QR code (2 static numbers, stored session)
Send messages every 5–10 minutes (configurable)
Messages can include:
Text
Media (images with optional captions)
Messages must be sent one by one, in a scheduled queue
Failover/retry mechanism for failed sends (optional)
✅ Admin Dashboard Secure admin login (JWT or session-based)
Campaign creation with:
Manual message entry or CSV upload
Media attachment support
Start time and adjustable interval setting (e.g. every 7 min)
WhatsApp number selection (number 1 or 2)
Campaign queue viewer:
Show scheduled, sent, paused
Ability to:
Pause/resume/delete campaigns
View logs of sent messages
🗂️ Folder Structure Suggestion vbnet Copy Edit whatsapp-automation/ ├── backend/ │ ├── server.js │ ├── routes/ │ ├── controllers/ │ ├── services/ (WhatsApp API integration) │ └── db/ (SQLite) ├── frontend/ (React or Next.js) │ ├── pages/ │ ├── components/ │ └── styles/
I'll help you build a WhatsApp Group Message Automation system with a full-stack approach. Let's start by setting up the project structure and implementing the core functionality.
I'll create a full-stack Next.js application that handles WhatsApp automation with Baileys, using SQLite via Prisma for the database, and NextAuth for authentication.
This WhatsApp Group Message Automation system includes:
Admin Dashboard
Campaign Features
WhatsApp Integration
Database Structure
The system uses:
The WhatsApp client implementation is currently mocked but provides all the necessary interfaces for integrating with Baileys in a production environment.
To complete the implementation:
Install the required dependencies:
npm install @prisma/client bcrypt date-fns next-auth
npm install -D prisma
Initialize the Prisma database:
npx prisma db push
complete the project for me and then enable preview
I'll complete the WhatsApp automation project by implementing the remaining components and making it ready for preview. Let's add the necessary files to make the system fully functional.
I've completed the WhatsApp automation project with all the necessary components for a fully functional system. Here's what's included:
Admin Dashboard
WhatsApp Integration
Campaign Management
Database Structure
Robust WhatsApp Integration
Message Queue System
Security Features
npm install
.env.local
npx prisma db push
npm run db:seed
npm run dev
The project is now ready for preview. You can access the admin dashboard at http://localhost:3000
This generation may require the following integrations:
i have downloaded the project, guide me through running it on vs code now