Muhammad KaifKarachi, Pakistan
Muhammad Kaif

Back to all projects

LUMEN

A full online store with a real backend, sign-in, Stripe payments and an admin panel.

For
Personal build: a complete online store, front to back.
Built with
Next.js, Stripe, NextAuth, Pusher, MongoDB
Proof
10 Playwright end-to-end tests passing. Lighthouse desktop, 13 Oct 2026: Accessibility 91, Best Practices 96, SEO 100.
Live
kaif-lumenvercelapp.vercel.app
Code
GitHub
LUMEN storefront hero with a craftsman photo and the headline Crafted with purpose

The problem

A store needs more than product pages: payments, accounts, live order updates and an admin side. LUMEN covers all of it, with tests.

What I built

  • Sign-in with NextAuth: hashed passwords and Google OAuth, JWT sessions, roles for user and admin.
  • Stripe checkout with PaymentIntents and full webhook handling, in a multi-step flow.
  • Real-time updates: Pusher for new-order alerts and status changes, Socket.IO for live support chat.
  • Admin panel: dashboard numbers, product CRUD with Cloudinary uploads, orders, user roles and revenue charts.
  • Cart and wishlist with a slide-in drawer, promo codes and saved state.
  • Ctrl/⌘ K live search, image-swap product cards and GSAP scroll reveals.

How it fits together

  1. StorefrontNext.js 14, Zustand cart
  2. CheckoutStripe PaymentIntents
  3. WebhooksStripe payment events, handled in full
  4. Pusherorder alerts to the admin
  5. Admin panelproducts, orders, users, revenue

Hard parts

Payments handled end to end

Checkout runs on Stripe PaymentIntents, and payment events come back through Stripe webhooks, which the app handles in full.

Two kinds of real-time

Order alerts run on Pusher channels and the support chat runs on Socket.IO.

Proving it works

10 Playwright end-to-end tests cover the store and pass.

Results

10 of 10 Playwright end-to-end tests passing. Lighthouse desktop, 13 Oct 2026: Accessibility 91, Best Practices 96, SEO 100.

Stack

Next.js 14, React 18, TypeScript, MongoDB, NextAuth, Stripe, Pusher, Socket.IO, Cloudinary, GSAP, Framer Motion, Zustand, Playwright

Screens