You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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