lemon-platform

byNeonaura Tech

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.

LandingBuilderLogin
Landing

Comments (0)

No comments yet. Be the first!

Architecture

No Services Diagrams Yet

Architecture diagrams will be automatically generated when the Project Manager creates tasks for your project.

Landing: View Grove
Login: Sign In
Dashboard: View Analytics
Dashboard: Manage Clients
Clients: Create Client
Clients: Assign Plan
Leads: View All Leads
Leads: Filter by Client
Subscriptions: Manage Plans
Subscriptions: Update Plan
Analytics: View Reports