Premium E-Commerce Platform | Modern Clothing Brand Experience
A full-stack e-commerce solution built with cutting-edge technologies for Bangladesh's premier clothing brand
- β¨ Overview
- π Features
- π οΈ Tech Stack
- πΈ Screenshots
- β‘ Quick Start
- π Project Structure
- βοΈ Configuration
- π Scripts
- π¨βπ» Developer
Maneel Club is a production-ready, full-stack e-commerce platform designed specifically for premium clothing brands. Built with modern web technologies, it delivers a lightning-fast shopping experience for customers and a powerful, intuitive admin dashboard for managing your entire business.
- β‘ Blazing Fast - Built on Next.js 16 with React Server Components
- π¨ Beautiful UI - Modern, responsive design with Tailwind CSS 4
- π Secure - Better Auth with session management and rate limiting
- π¦ Scalable - ImageKit CDN for optimized image delivery
- π³ Local Payments - Cash on Delivery, bKash, Nagad, Rocket support
- π Analytics Ready - Meta Pixel & Google Tag Manager integration
- π Smart Shipping - Zone-based delivery (Dhaka & Outside Dhaka)
| Feature | Description |
|---|---|
| πͺ Shop & Browse | Intuitive product browsing with category filters and search functionality |
| π¨ Product Details | Rich product pages with variants (size, color), image galleries, size guides, and related products |
| ποΈ Shopping Cart | Seamless cart management with real-time updates |
| π° Checkout | Streamlined checkout with city-based shipping calculation (Dhaka / Outside Dhaka) |
| π³ Payment Options | Support for Cash on Delivery (COD), bKash, Nagad, and Rocket |
| π€ User Accounts | Complete user profiles with address management and order history |
| π± Mobile Optimized | Fully responsive, mobile-first design with touch-friendly controls |
| π SEO Optimized | Meta tags, sitemap, robots.txt, and optional analytics integration |
| Module | Capabilities |
|---|---|
| π Dashboard | Real-time overview with key metrics and quick access to important data |
| π¦ Products | Full CRUD operations, variant management, attribute assignment, and ImageKit integration |
| π Categories | Flexible category management with product assignment |
| π Orders | Complete order management with status tracking, invoice generation, and customer details |
| π₯ Customers | Customer database with profile information and order history |
| π Hero Slides | Dynamic homepage carousel management |
| ποΈ Cities | Delivery zone configuration and shipping rate management |
| π·οΈ Attributes | Global attribute system (sizes, colors, etc.) with custom values |
| βοΈ Settings | Comprehensive site-wide settings and configuration |
| π Analytics | Built-in analytics views and data visualization |
- π Authentication - Better Auth with email/password, secure sessions, and rate limiting
- ποΈ Database - PostgreSQL with Prisma ORM, migrations, and type-safe queries
- πΈ Image Storage - ImageKit CDN (primary) with automatic optimization, fallback to MinIO or local storage
- π― State Management - Zustand for cart and UI state
- β Form Validation - React Hook Form with Zod schema validation
- π¨ UI Components - Radix UI primitives with Tailwind CSS 4 and shadcn-style components
- π Performance - Server-side rendering, code splitting, and optimized image delivery
| Layer | Technology | Purpose |
|---|---|---|
| Framework | Next.js 16 (App Router) | React framework with SSR and API routes |
| UI Library | React 19 | Modern React with Server Components |
| Styling | Tailwind CSS 4 | Utility-first CSS framework |
| Components | Radix UI + Lucide Icons | Accessible component primitives |
| Language | TypeScript 5 | Type-safe JavaScript |
| Database | PostgreSQL | Robust relational database |
| ORM | Prisma 7 | Type-safe database access |
| Authentication | Better Auth | Secure auth with sessions |
| File Storage | ImageKit (Primary) | CDN with image optimization |
| State | Zustand | Lightweight state management |
| Forms | React Hook Form + Zod | Form handling and validation |
| Package Manager | pnpm | Fast, disk space efficient |
More screenshots coming soon...
Before you begin, ensure you have the following installed:
- Node.js >= 20.19.0 (Download)
- pnpm (Install) or npm/yarn
- PostgreSQL (Download)
- ImageKit Account (Recommended) - Sign up for optimized image delivery
- MinIO (Optional) - For S3-compatible storage fallback
git clone https://github.com/shishir1337/maneelclub.git
cd maneelclubpnpm installCopy the example environment file:
cp .env.example .env.localConfigure the following variables:
| Variable | Required | Description |
|---|---|---|
DATABASE_URL |
β | PostgreSQL connection string |
BETTER_AUTH_SECRET |
β | Secret key for Better Auth (generate with npx @better-auth/cli secret) |
BETTER_AUTH_URL |
β | Full app URL (e.g., http://localhost:3000) |
NEXT_PUBLIC_APP_URL |
β | Public app URL |
NEXT_PUBLIC_WHATSAPP_NUMBER |
β | WhatsApp contact number |
IMAGEKIT_PRIVATE_KEY |
β | ImageKit private key (recommended for production) |
IMAGEKIT_URL_ENDPOINT |
β | ImageKit URL endpoint (e.g., https://ik.imagekit.io/your-id) |
IMAGEKIT_UPLOAD_FOLDER |
β | ImageKit upload folder (default: maneelclub) |
IMAGEKIT_UPLOAD_QUALITY |
β | Image upload quality 1-100 (default: 80) |
MINIO_* |
β | MinIO configuration (fallback if ImageKit not configured) |
META_PIXEL_ID, META_CAPI_ACCESS_TOKEN |
β | Meta Pixel / Conversions API (optional) |
Run migrations and seed the database:
pnpm db:migrate
pnpm db:seedpnpm devπ You're all set! Visit:
- Storefront: http://localhost:3000
- Admin Dashboard: http://localhost:3000/admin
maneelclub/
βββ prisma/ # Database schema and migrations
β βββ schema.prisma # Prisma schema definition
β βββ migrations/ # Database migration files
βββ public/ # Static assets
β βββ uploads/ # Local file uploads (fallback)
βββ src/
β βββ app/ # Next.js App Router pages
β β βββ (admin)/ # Admin dashboard routes
β β βββ (shop)/ # Storefront routes
β β βββ api/ # API routes
β β βββ auth/ # Authentication pages
β βββ actions/ # Server actions
β β βββ admin/ # Admin-specific actions
β β βββ ... # Other actions
β βββ components/ # React components
β β βββ admin/ # Admin components
β β βββ ... # Shared components
β βββ lib/ # Utility libraries
β β βββ auth.ts # Better Auth configuration
β β βββ storage.ts # Storage service (ImageKit/MinIO/Local)
β β βββ ... # Other utilities
β βββ schemas/ # Zod validation schemas
β βββ store/ # Zustand stores
βββ .env.example # Environment variables template
βββ next.config.ts # Next.js configuration
βββ package.json # Dependencies and scripts
βββ README.md # This file
- Store Information -
src/lib/constants.ts - Shipping Rates -
src/lib/constants.ts - Payment Methods -
src/lib/constants.ts - App Settings - Admin Dashboard β Settings or
src/lib/settings.ts
The platform supports multiple storage backends with automatic fallback:
- ImageKit (Primary) - CDN with automatic image optimization
- MinIO (Fallback) - S3-compatible object storage
- Local Filesystem (Fallback) -
public/uploads/directory
Configure storage via environment variables (see Quick Start).
| Command | Description |
|---|---|
pnpm dev |
Start Next.js development server |
pnpm build |
Create production build |
pnpm start |
Start production server |
pnpm lint |
Run ESLint |
pnpm db:migrate |
Run Prisma migrations |
pnpm db:push |
Push schema changes without migrations |
pnpm db:seed |
Seed database with sample data |
pnpm db:studio |
Open Prisma Studio (database GUI) |
pnpm db:reset |
Reset database and re-run migrations |
Proprietary - All rights reserved.
Made with β€οΈ for Maneel Club
β Star this repo if you find it helpful!