A modern, multilingual multi-vendor e-commerce application built with Next.js (App Router). This project features comprehensive role management (Admin, Seller, Customer), real-time functionality, and AI-powered image search.
- 🤖 AI-Powered Search: Image analysis and product search using Google GenAI.
- 🌍 Multilingual Support: Built-in internationalization for global access.
- 🔐 Advanced Authentication: Secure auth flows with email verification and password reset.
- 👥 Multi-Role System: Dedicated dashboards for Admins, Sellers, and Customers.
- 📦 Order Management: Full checkout flow, voucher system, and order tracking.
- ⚡ Real-time Updates: Powered by Pusher for instant notifications.
- 🚀 Performance: Redis caching and Cloudinary image optimization.
| Category | Technology |
|---|---|
| Framework | Next.js (App Router) |
| Styling | Tailwind CSS |
| Database | PostgreSQL, Prisma ORM |
| Caching | Redis |
| Real-time | Pusher |
| Storage | Cloudinary |
| Resend | |
| AI | Google GenAI |
Before you begin, ensure you have the following installed:
- Node.js (v22 or higher)
- pnpm (Recommended package manager)
- A running PostgreSQL instance
Follow these steps to set up the project locally.
git clone <your-repo-url>
cd <your-project-folder>Bash
pnpm install
Create a .env file in the root directory. You must configure the keys validated in lib/env.ts:pnpm dev
