PrimeBrothers E-Commerce Platform
A full-stack e-commerce platform with a React storefront, Node.js/Express REST API, MongoDB database, and sandbox payment testing via PayFast — built for a local Pakistani retail brand. JazzCash & EasyPaisa integration coming soon.
Visit websiteOverview
PrimeBrothers is a fully functional e-commerce platform built for a local retail brand. The platform was built from scratch — covering product catalogue, cart management, user authentication, order processing, and payment handling. The goal was a clean, fast shopping experience that works reliably on both desktop and mobile.
Frontend
Built with React, the storefront features a product catalogue with filtering and search, a persistent shopping cart, and a smooth checkout flow. State is managed with React Context and persisted to localStorage so the cart survives page refreshes. The UI is fully responsive across mobile and desktop breakpoints.
Backend & Database
The Node.js / Express REST API handles product listings, user accounts, order management, and payment callbacks. User passwords are hashed with bcrypt and sessions are managed with JWT tokens. Product and order data is stored in MongoDB via Mongoose schemas.
Payment Integration
The current test build uses the PayFast sandbox to simulate end-to-end checkout flows with fake transactions — allowing the full payment lifecycle (initiation, ITN webhook callback, and order confirmation) to be verified without real money. Signature validation is in place to prevent request tampering even in sandbox mode.
JazzCash and EasyPaisa — Pakistan's most widely used mobile payment platforms — are planned for the production release and are currently coming soon.
Tech Stack
React · Node.js · Express · MongoDB · Mongoose · JWT · bcrypt · PayFast Sandbox · Vercel (frontend) · Railway (backend) · JazzCash / EasyPaisa (coming soon)