I built this sneaker store from scratch for a client. It is live at
kicks-nation.com
Kicks Nation sells sneakers and joggers in Pakistan, with cash on delivery. There are two parts: the storefront shoppers use, and a store manager the owner uses to run it.
Storefront
- Men, Women and Kids tabs, with filters and sort saved in the URL
- Filter by category, price and EU size. The size filter shows only the shoes in stock in your size
- Sizes on every card. A size with no pairs left is crossed out
- Every color has its own photos. Pick a color and the gallery changes, and so does the photo in the bag
- Photos swipe on phones
- The bag shows how far you are from free delivery (Rs 250 per order, free from Rs 15,000)
- Order tracking with the order number plus the email or phone used at checkout
- Customer accounts with email confirmation
Store manager
- Overview with sales, orders and best sellers (the admin screenshot uses sample data)
- Products, categories, inventory, orders, customers, discounts and settings
- Stock per color and size, and every stock change asks why
- Sale price or % off with an optional end time. When it ends, the regular price comes back by itself
- Delivery fee, free-delivery limit, delivery time and returns text are settings, not code
- Owner sign-in needs 2FA
Under the hood
Next.js 16 and React 19, PostgreSQL on Neon with Drizzle, Better Auth, Cloudflare R2 for photos, Resend for order emails, deployed on Vercel in Singapore next to the database.
Things I cared about
- The server decides the price at checkout, not the browser
- An order keeps the name and price it was sold at, even if I edit the product later
- I wrote attack tests: tampered prices, a fake owner sign-up, CSRF, guessed order links and rate limits
Cash on delivery works today. Online card payments are the next feature coming to the store.