LuminaDevEG (Lumina AI)
Role: Co-Founder & Backend Software Engineer · Category: Multi-Tenant
Built a database-per-tenant Laravel SaaS backend powering a 24/7 AI support agent trained on PDFs and website URLs across web chat and WhatsApp.
Live Deployment: https://www.luminadeveg.com/en
Problem & Scope
Small and mid-sized businesses needed a 24/7 AI support agent trained on their own PDFs, FAQs, and website pages—without risking data leaking between organizations sharing the same SaaS platform.
Built at LuminaDevEG—the AI software startup I co-founded—Lumina AI is a 24/7 customer support agent and multi-tenant workspace that answers inquiries, captures leads, and syncs schedules around the clock.
Organizations onboard by uploading PDFs, text docs, FAQs, or website URLs to build a private knowledge base, customize the AI's tone and response rules, and deploy it directly to a website chat widget or WhatsApp. I architected the Laravel backend using true database-per-tenant MySQL isolation so every client runs in its own database, powering team RBAC, JWT auth, subscriptions, real-time workspace analytics, Google OAuth & Calendar sync, and revocable tenant-scoped API keys.
Challenge
Isolating per-organization MySQL databases cleanly at runtime without connection leaks, orchestrating document/URL knowledge ingestion and customizable AI agent rules per tenant, keeping web chat widgets, WhatsApp, and Google Calendar synchronized at low latency, and securing revocable tenant-scoped public API keys.
Solution & Architecture
Implemented dynamic tenant-resolution middleware in Laravel that switches MySQL connections per request against a central tenant registry, paired with JWT guards, granular RBAC policies, hashed tenant-scoped public API keys, WhatsApp & web-widget webhook handlers, and Google OAuth token refresh services.
Results & Key Deliverables
Live production SaaS platform at luminadeveg.com supporting isolated per-organization MySQL databases, multi-channel AI lead capture (web chat + WhatsApp), and automated Google Calendar booking sync.
- True database-per-tenant Laravel multi-tenancy isolating each client organization in its own MySQL DB
- 24/7 AI customer agent trained per tenant on uploaded PDFs, docs, FAQs, and website URLs
- Customizable AI tone and behavior rules deployed to web chat widgets & WhatsApp webhooks
- Workspace portal with plans/subscriptions, real-time analytics, JWT auth, and granular RBAC
- Revocable tenant-scoped public API keys plus Google OAuth & Calendar sync for captured leads
Production Stack
Laravel · PHP · MySQL · Database-per-Tenant · AI Agents · JWT · RBAC · WhatsApp · Google OAuth & Calendar · Linux VPS
Back to All Projects |
Resume |
النسخة العربية