You are a senior SaaS architect and full-stack engineer. Build a **multi-tenant SaaS platform** for an IT agency named **NEONAURATECH**. This platform allows the agency to create, manage, and host websites for multiple clients (like dental clinics, real estate, etc.), capture leads, and automate follow-ups. --- # ๐ง TECH STACK Frontend: * React (Vite) * Tailwind CSS * Framer Motion Backend: * Node.js + Express Database: * MongoDB (Mongoose) Auth: * JWT-based authentication Deployment: * Frontend โ Vercel * Backend โ Render / Railway * DB โ MongoDB Atlas --- # ๐๏ธ CORE ARCHITECTURE ## Multi-Tenant System Each client has: * Unique workspace * Own website data * Own leads * Own settings Use: * tenantId in all schemas --- # ๐ PROJECT STRUCTURE /frontend /src /components /pages /dashboard /auth /builder /backend /controllers /models /routes /middleware /services --- # ๐ AUTH SYSTEM Features: * Signup / Login * JWT tokens * Role-based access: * Admin (you) * Client --- # ๐จโ๐ผ ADMIN PANEL (YOUR CONTROL) Features: * Create new client * Assign plan (Free / Pro / Enterprise) * View all leads across clients * Analytics dashboard * Manage subscriptions --- # ๐ค CLIENT DASHBOARD Each client gets login access. ## Features: ### 1. Website Builder * Edit: * Hero text * Services * Contact info * Upload images * Toggle sections ON/OFF ### 2. Leads Dashboard * View all leads * Status: * New * Contacted * Converted ### 3. Settings * Domain config * Email settings * WhatsApp number --- # ๐ WEBSITE GENERATOR Dynamic website system: * One template (NEONAURATECH design) * Data pulled from DB * Route: /site/:clientSlug Example: * neonauratech.com/site/dental-clinic-x --- # ๐งพ DATABASE MODELS ## User * name * email * password * role (admin/client) ## Client * name * slug * plan * ownerId ## WebsiteContent * clientId * hero * services * about * contact ## Lead * clientId * name * email * message * status --- # ๐ LEAD SYSTEM * Form on website โ API โ DB * Store leads per client * Show in dashboard --- # โ๏ธ AUTOMATION ENGINE When new lead comes: Trigger: * Send email (NodeMailer) * Send WhatsApp (Twilio API) * Store event log --- # ๐จ FRONTEND FEATURES ## Public Website * Glassmorphism UI * Purple theme * Animations * Fully responsive ## Dashboard UI * Sidebar navigation * Charts (Recharts) * Tables (leads) --- # ๐ณ MONETIZATION (IMPORTANT) Add subscription logic: Plans: * Free โ limited leads * Pro โ โน5K/month * Enterprise โ โน15K/month Limit features by plan. --- # ๐ฅ BONUS FEATURES * Webhook logs * Activity tracking * Lead export (CSV) * SEO meta editor * Blog module (optional) --- # ๐ OUTPUT REQUIREMENTS Generate: 1. Full backend (routes, controllers, models) 2. Frontend pages (auth, dashboard, builder, public site) 3. API integration 4. Sample data 5. Setup instructions DO NOT give partial output. This must be a working SaaS product.
Sign in to leave a comment
No tasks generated yet.
Tasks will appear here as requirements are defined.
No comments yet. Be the first!