Back to projects
Next.js 14TypeScriptPrismaNextAuth v5Stripe ConnectMapbox

Franchise Management System

B2B platform for franchise prospecting, onboarding, and lifecycle management with AI chatbot

The Problem

Managing franchise prospects across an 8-stage pipeline required juggling spreadsheets, email threads, and manual territory analysis. There was no unified system to track prospects, manage financial agreements, or provide prospects with self-service access to franchise information.

Architecture

Next.js 14 with NextAuth v5 for role-based authentication across franchise owners and corporate admins. Prisma manages 80+ models with Stripe Connect handling franchise payment flows. Mapbox powers interactive territory maps for market analysis. The RAG chatbot uses embeddings for document retrieval with contextual AI responses.

Screenshots
Public Marketing Site
Public Marketing Site
Admin Command Center
Admin Command Center
Learning Center
Learning Center
Franchisee Management
Franchisee Management
System Settings
System Settings
Key Features
180+ Prisma models covering the full franchise lifecycle
2RAG-powered AI chatbot with document retrieval and contextual responses
3Territory mapping with Mapbox for market analysis and visualization
4Financial dashboards with real-time revenue tracking
58-stage prospect pipeline from inquiry to signed agreement
6E-signature integration for franchise agreements and legal documents
Impact

End-to-end franchise operations from first inquiry to signed agreement