š You are reading MatchNest v1.0 documentation. View Changelog ā
Introduction
MatchNest is a full-featured, production-ready matrimonial SaaS platform built with Next.js 14+, TypeScript, Prisma ORM, and Tailwind CSS. It provides everything you need to launch a professional matrimonial website.
What is MatchNest?
MatchNest is a complete, self-hosted matrimonial platform with:
- A beautiful marketing website with pricing, about, features, and success stories pages
- Full user dashboard with profile management, matchmaking, messaging, and billing
- Comprehensive admin panel for managing users, payments, content, and settings
- Flexible subscription system with Free, Silver, Gold, and Platinum plans
- Secure JWT-based authentication with role-based access control
- File upload system for avatars and photo galleries
- Support ticket system for customer service
- Real-time notifications
Tech Stack
Next.js 14+ (App Router)
Server components, streaming, and API routes
TypeScript + Zod
End-to-end type safety and runtime validation
Prisma ORM + SQLite
Type-safe database queries, easily swap to PostgreSQL/MySQL
Tailwind CSS v4
Utility-first styling with zero-config setup
Quick Start
The fastest way to get MatchNest running locally:
# Clone the repository
git clone https://github.com/your-repo/matchnest.git
cd matchnest
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env
# Edit .env with your values
# Set up the database
npm run db:push
npm run db:seed
# Start development server
npm run devThen open http://localhost:3000 to see the app.
Default admin credentials after seeding: [email protected] / admin123
Directory Structure
matchnest/
āāā prisma/
ā āāā schema.prisma # Database schema (20+ models)
ā āāā seed.ts # Demo data seeder
āāā prisma.config.ts # Prisma 7 configuration
āāā src/
ā āāā app/
ā ā āāā (marketing)/ # Public website pages
ā ā āāā (auth)/ # Login, register, forgot password
ā ā āāā (dashboard)/ # Member dashboard
ā ā āāā (admin)/ # Admin panel
ā ā āāā api/ # API routes
ā ā āāā docs/ # Documentation (this site)
ā āāā components/
ā ā āāā ui/ # Reusable UI components
ā ā āāā layout/ # Layout components
ā āāā lib/
ā āāā auth.ts # JWT authentication
ā āāā prisma.ts # Database client
ā āāā constants.ts # App-wide constants
ā āāā utils.ts # Utility functions
ā āāā validations.ts # Zod validation schemas
ā āāā subscription.ts # Subscription limits
ā āāā upload.ts # File upload handler
āāā public/
āāā uploads/ # User-uploaded files