Skip to content

Case study · E-commerce · Product Platform

Rawaiya

A commerce platform, not just a storefront.

Live
Category
E-commerce · Product Platform
Stack
Next.js, Prisma, PostgreSQL, Zustand
Scope
Product engineering
rawaiya.com
Rawaiya — live product screenshot

Overview

Rawaiya is a modern e-commerce platform for jewelry and lifestyle products — storefront and operations in one system.

Behind the storefront sits a full business platform: an admin dashboard for products, categories, orders, customers, reviews, blog content and contact requests, with product uploads and image management on Cloudflare R2.

Zustand and React Query manage client state and data fetching; JWT authentication secures customer and admin sessions.

  • 01

    Storefront & product management

  • 02

    Orders & customer operations

  • 03

    Admin workflows & content

  • 04

    Cloudflare R2 media pipeline

The problem

A template storefront could sell products but could not run the business: product, order, customer, review and content operations were fragmented, and media handling did not scale.

Engineering challenges

  1. 01Unifying storefront and back-office operations on one data model without slowing the customer-facing site.
  2. 02Building a media pipeline for product imagery that is cheap to store and fast to deliver.
  3. 03Securing customer and admin sessions with distinct permissions.

The solution

A Next.js platform on Prisma/PostgreSQL with a full admin dashboard (products, categories, orders, customers, reviews, blog, contact requests), Cloudflare R2 for image storage, Zustand and React Query for client state and data, and JWT authentication separating customer and admin sessions.

Status · Live at rawaiya.com.

Product screens

Actual interface from the shipped product — not a mockup of what might be built.

  • Rawaiya — product screenshot
  • Rawaiya — mobile view

What was built

Storefront

  • Storefront
  • Product discovery
  • Categories
  • Reviews
  • Blog

Operations

  • Admin dashboard
  • Product management
  • Orders
  • Customers
  • Contact management

Media

  • Product uploads
  • Image management
  • Cloudflare R2 image storage

Architecture / workflow

Technology

  • Next.js
  • Prisma
  • PostgreSQL
  • Zustand
  • React Query
  • JWT
  • Cloudflare R2

Build from a proven starting point

Want to build something similar?

Discuss what you would change, add or simplify with our AI Project Architect.

Visit Rawaiya