Skip to content

emaan-dev-git/emriz-fashion-showcase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›οΈ EMRIZ β€” Premium Pakistani Fashion E-Commerce

A full-stack, production-ready e-commerce platform built for the modern Pakistani fashion market.

Live Demo Next.js TypeScript PostgreSQL


πŸ”— Live Links

Page URL
🏠 Homepage emriz-fashion.netlify.app
πŸ›’ Products emriz-fashion.netlify.app/products
πŸ” Login emriz-fashion.netlify.app/login
βš™οΈ Admin Panel emriz-fashion.netlify.app/admin

πŸ“Έ Screenshots

Home Products Product Detail
Admin Login

πŸ‘©β€πŸ’» About This Project

I built EMRIZ as a complete, production-grade e-commerce platform inspired by top Pakistani fashion brands like Sapphire, Khaadi, and Limelight.

The goal was to build something real β€” not just a tutorial project. That meant integrating actual Pakistani payment gateways (JazzCash & EasyPaisa), building a full admin dashboard, handling image uploads, and deploying everything live.

What I learned:

  • Full-stack architecture with Next.js 15 App Router + Express.js REST API
  • Database design with Prisma ORM and PostgreSQL
  • JWT authentication with HTTP-only cookies
  • Integrating third-party Pakistani payment APIs
  • Docker for local development, Netlify + Railway for deployment

✨ Features

Customer-Facing

  • πŸ›οΈ Complete product catalog (Stitch, Unstitch, Kids)
  • πŸ” Advanced filtering & search
  • πŸ›’ Shopping cart with localStorage persistence
  • ❀️ Wishlist
  • πŸ“¦ Multi-step checkout
  • 🏷️ Coupon & discount codes
  • πŸ“ Order tracking
  • 🎯 Loyalty points system
  • ⚑ Flash sale with countdown timer
  • πŸ‘— Custom stitching requests
  • πŸ‘©β€πŸ‘§ Mommy & Me matching section
  • πŸ“± Fully mobile responsive

Admin Panel

  • πŸ“Š Dashboard with analytics
  • πŸ—‚οΈ Product management (CRUD + Cloudinary image uploads)
  • πŸ“‹ Order management
  • πŸ“§ Email notifications

Payments

  • πŸ’š JazzCash
  • 🟒 EasyPaisa
  • πŸ’³ Stripe (International)
  • πŸ’΅ Cash on Delivery
  • 🏦 Bank Transfer

πŸ› οΈ Tech Stack

Frontend

Technology Purpose
Next.js 15 (App Router) React framework with SSR/SSG
TypeScript Type safety
Tailwind CSS Styling
Framer Motion Animations
Zustand State management
TanStack Query Server state & caching
Shadcn/UI UI components

Backend

Technology Purpose
Node.js + Express.js REST API server
TypeScript Type safety
Prisma ORM Database access
PostgreSQL Primary database
Redis Caching & sessions
JWT + HTTP-only cookies Authentication
Cloudinary Image uploads

πŸš€ Quick Start (Local Development)

Prerequisites

  • Node.js 20+
  • Docker & Docker Compose

1. Clone the repository

git clone https://github.com/emaan-dev-git/emriz-fashion.git
cd emriz-fashion

2. Start the database

docker-compose up -d postgres redis

3. Setup Backend

cd backend
cp .env.example .env
# Fill in your credentials in .env

npm install
npx prisma migrate dev --name init
npx prisma generate
npm run prisma:seed    # Seeds products, coupons, admin user
npm run dev            # Runs on http://localhost:5000

4. Setup Frontend

cd frontend
cp .env.local.example .env.local
# Set NEXT_PUBLIC_API_URL=http://localhost:5000

npm install
npm run dev            # Runs on http://localhost:3000

πŸ“ Project Structure

emriz/
β”œβ”€β”€ frontend/                 # Next.js 15 App Router
β”‚   β”œβ”€β”€ app/
β”‚   β”‚   β”œβ”€β”€ (store)/         # Customer-facing pages
β”‚   β”‚   └── (admin)/         # Admin dashboard
β”‚   β”œβ”€β”€ components/           # Reusable UI components
β”‚   β”œβ”€β”€ store/                # Zustand state management
β”‚   └── lib/                  # API client, utilities
β”‚
β”œβ”€β”€ backend/                  # Express.js REST API
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ controllers/
β”‚   β”‚   β”œβ”€β”€ routes/
β”‚   β”‚   β”œβ”€β”€ middleware/
β”‚   β”‚   β”œβ”€β”€ services/
β”‚   β”‚   └── utils/
β”‚   └── prisma/               # Schema + migrations + seed
β”‚
└── docker-compose.yml

πŸ”Œ API Reference

Base URL: http://localhost:5000/api

Auth

Method Endpoint Description
POST /auth/register Register new user
POST /auth/login Login
POST /auth/logout Logout
GET /auth/me Get current user
POST /auth/forgot-password Request password reset
POST /auth/reset-password Reset password

Products

Method Endpoint Description
GET /products List products (filter, sort, paginate)
GET /products/featured Featured products
GET /products/new-arrivals New arrivals
GET /products/:slug Product detail
POST /products Create product (Admin)
PUT /products/:id Update product (Admin)

Orders

Method Endpoint Description
POST /orders/create Place order
GET /orders User's orders
GET /orders/:id Order detail
PUT /orders/:id/cancel Cancel order
GET /orders/:id/track Track order

☁️ Deployment

Service Platform
Frontend Netlify
Backend Railway
Database Railway PostgreSQL
Images Cloudinary

πŸ“¬ Contact

Emaan Tariq
πŸ“§ emrizofficial.pk@gmail.com
πŸ“ Punjab, Pakistan


Built with ❀️ in Pakistan β€” EMRIZ Fashion 2026

About

πŸ›οΈ EMRIZ β€” Full-stack Pakistani fashion e-commerce. Next.js 15, Node.js, PostgreSQL, Redis, Docker. JazzCash, EasyPaisa payments. Live demo available.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors