Manasai Store

E-commerce storefront and admin for a boutique wellness brand (microgreens, florals and millet bakes). Next.js and Firebase, with a content CMS, inventory tracking and customer order tracking.

next.js
firebase
firestore
e-commerce
zustand

Overview

Manasai is a boutique wellness brand selling artisanal microgreens, floral blooms and millet bakes. The store is built to feel slow and editorial rather than like a conventional shop. Customers browse by category, each category has its own colour theme, and the admin side runs orders, stock and site content without a developer.

Features

  • Category storefront: three themed categories (Greens, Blooms, Bakes). Each switches the page’s colour tokens and runs an animated transition.
  • Cart: a slide-out drawer backed by a Zustand store. Stock-limited items cap the quantity at what is in stock.
  • Customer accounts: email and phone sign-in through Firebase Auth. Order history shows live status and a shipment tracking card with courier, AWB and a tracking link.
  • Admin product management: create, edit and delete products. Stock is tracked per product where needed, with low-stock and out-of-stock badges.
  • Order fulfilment: orders move through pending, accepted, preparing, ready, dispatched and completed. Marking an order dispatched asks for tracking details first.
  • Content CMS: the landing page, category gateway, why-we-exist section, footer links, reviews and specialities are all editable from the admin, with images uploaded from the same screens.
  • Analytics: a built-in admin analytics page.

Images on a free budget

Product and site images are not stored in Firebase Storage. Uploads go to imgbb, which hosts them for free. The app stores the returned URL in Firestore, and the storefront reads that URL.

The change was made after an image-upload problem with Firebase Storage. The Firebase Storage rules remain in the repository, but the current upload flow does not use them.

Architecture

  • Framework: Next.js (App Router) with TypeScript and Tailwind CSS v4, using Shadcn UI components
  • Data: Firestore for products, users, orders, flows, reviews, specialities, settings and admins. Pages subscribe with onSnapshot, so changes appear live.
  • Auth: Firebase Auth. Admin access is limited to a fixed set of admin emails.
  • Spam protection: reCAPTCHA v3, verified server-side through an API route.
  • State: Zustand for the cart. React Context for the active theme and category transition.
  • Motion: Framer Motion for page and card transitions, plus an SVG noise overlay for texture.
  • Typography: Fraunces (serif, headings), Hanken Grotesk (body) and Bricolage Grotesque (labels and numbers).

Deployment

Firebase provides Firestore, Auth and the security rules. Product and site images are hosted on imgbb. The repository includes Vercel Analytics.

The hosting for the live site is not confirmed. The repository has Firebase Hosting config and earlier Cloudflare commits.