Ember & Oak: Coffee Store with Customer Accounts and Admin Panel | Vibe96

E-commerce & Retail

Ember & Oak: Coffee Store with Customer Accounts and Admin Panel

Source code included

Full-stack coffee e-commerce store with customer accounts and admin panel for roasters and coffee shops. Web only.

Built by Tabassum Nisha Updated 13 Nov 2026 6,654 lines of code

Open live demo Built withClaude Code

About this software

About Ember & Oak: Coffee Store with Customer Accounts and Admin Panel

Ember & Oak is a complete online store for a specialty coffee roaster, built with React 19 + Vite on the front end, a dependency-free Node.js 22 API and a SQLite database. Customers can browse the catalogue, fill a bag, check out as guests or registered users, and view their order history. An admin signs in to manage products, stock and orders and to see a sales overview. Prices, totals, stock and roles are decided on the server, and the repo ships with 16 automated API tests, Docker files and setup docs. There is no payment gateway: the card form is validated in the browser and discarded, so a payment provider must be added before taking real payments.

Category: E-commerce & RetailStack: React 19.2 + Vite 7 (plain node:http API, no framework) · SQLite via built-in node:sqliteBuilt with: Claude Code Licence: Single-site, full source

Why Ember & Oak: Coffee Store with Customer Accounts and Admin Panel

What makes it better
than the alternatives

  1. 01

    No npm dependencies on the server

    The API uses only built-in node:http, node:sqlite and node:crypto, so there is little third-party code to maintain on the back end.

  2. 02

    Server-side pricing and stock

    Checkout sends only product ids and quantities, and the server prices the order from database values and decrements stock atomically in a transaction.

  3. 03

    Guarded order access

    Order confirmation links use a random access token, and signed-in customers see only their own orders while admins see all.

  4. 04

    Security basics built in

    Scrypt password hashing, hashed session tokens in HttpOnly SameSite cookies, login rate limiting, an Origin (CSRF) check and security headers.

  5. 05

    Ready to deploy and rebrand

    Dockerfile, docker-compose, render.yaml and vercel.json are included, plus docs for API, database, ERD and customisation, and a CLAUDE.md for AI coding tools.

Storefront

  • Home page with hero
  • featured roasts
  • brewing gear and starter-kit banner
  • Shop with category
  • taste
  • origin and roast filters
  • search
  • sorting and in-stock toggle
  • Product pages with size
  • grind and colour options
  • tasting notes and related products
  • Wishlist kept in the browser's localStorage
  • Delivery and contact info pages

Cart and Checkout

  • Slide-in bag with free-shipping progress bar
  • Checkout form with validation
  • shipping methods and tax
  • Payment choice of card (demo form
  • not sent to server) or cash on delivery
  • Guest checkout
  • switchable off with ALLOW_GUEST_CHECKOUT
  • Order confirmation page reachable by token link

Customer Accounts

  • Register
  • sign in and sign out
  • My account page with order history
  • Customers can only view their own orders

Admin

  • Products and Stock: Add
  • edit and delete products
  • Manage stock levels and product details
  • Product image or built-in SVG illustration fallback

Admin

  • Orders: Filter orders by status and open details
  • Change status: Processing
  • Roasting
  • Shipped
  • Delivered
  • Cancelled
  • Cancelling returns stock; reopening takes it again if available

Admin

  • Overview: Revenue
  • order count and average order value
  • 14-day chart
  • best sellers and low-stock alerts
  • Demo-mode Restore demo data button

Security and Access

  • Two roles: customer and admin
  • Role checks on every write endpoint
  • Rate limits on login
  • registration and orders

Data and Deployment

  • SQLite schema with tables for users
  • sessions
  • categories
  • products
  • orders and order items
  • Seed data for demo mode
  • or admin created from environment variables
  • Docker
  • Render and Vercel (demo) configuration
  • 16 automated API tests via node --test

Quality report

Manually reviewed

88/ 100

Automated audit score

✓ Passed the audit

Passed the audit and a manual review.
Audit run: 8 Nov 2026
Reviewed by Vibe96 staff, Dubai.

Security87
Code structure88
Docs & completeness72
Dependency health88
Build & deploy88
Reviewer notes (2 minor)

No real credentials found; demo accounts are exposed publicly via /api/config and an unsigned-session fallback exists; queries are parameterized and scoped; schema and n+1 patterns could not be fully verified. None of these stop the software from working; the developer has been told and improvements come in a future update.

Versions & updates

1.0.0
First release13 Nov 2026✓ Reviewed & audited

No updates yet. New versions appear here with a changelog.
Buyers receive updates free for 1 year.

Quality report

What you get

  • </>Full source codeThe complete audited source, delivered as a download from your account. No obfuscation.
  • ▤DocumentationSetup guide, architecture notes, CLAUDE.md and AGENTS.md.
  • ↻One year of updatesEvery new version the builder publishes, free for 12 months.
  • ♧30 days of supportInstallation and defect support through Vibe96 tickets.
$104Single-site licence Details