JomMula

Project · Next.js · TypeScript · Neon · Cloudflare R2 · Resend

Kedai: Build a Personal Marketplace

A one-person shop for the things you're ready to let go. Public shelf, private back room, and a reservation that can't be double-sold. Next.js, Neon, R2, Resend, and a manual WhatsApp handover.

Next.jsTypeScriptNeonCloudflare R2Resend5/14 lessons published

Course content

5/14 published
Lessons
14
Parts
3
Level
Intermediate
Build
Kedai marketplace

Syllabus

Every lesson, in order

Each lesson is short and builds on the one before it. No skipping — the next lesson assumes you finished the last one.

Part 1

The Plan

The shop window, the counter, and the back room. Design the flow before the code.

3/3
  1. 01One seller, one of each8 min read · Explanation · no code · Next.js
  2. 02Design the shop window7 min read · Design · mockup · opencode
  3. 03The blueprint9 min read · Explanation · the plan · no code

Part 2

The Build

Next.js, inventory, admin sessions, uploads, reservations, WhatsApp, email, and the back room.

2/8
  1. 04An empty app that boots10 min read · Phase 1 · Next.js · setup
  2. 05The item is the unit of stock12 min read · Phase 2 · Drizzle · database
  3. 06One admin, a real sessionArgon2id, database sessions, login rate limits, and authorization inside every action.Soon
  4. 07The shop windowThe public shelf, item pages, share metadata, and the sold and reserved states.Soon
  5. 08Photos that load fastDirect-to-R2 uploads, sharp variants, EXIF stripping, and blur placeholders.Soon
  6. 09Reserve, don't buyA server-priced reservation, the race for one item, expiry, and the WhatsApp handoff.Soon
  7. 10The back roomThe admin item list, the reservation desk, confirm/cancel/extend, and the audit timeline.Soon
  8. 11The last mileResend receipts, seller alerts, idempotency, and retries that do not change state.Soon

Part 3

Prove & Ship

Break the race conditions on purpose, deploy, and learn the rules that keep one item from being sold twice.

0/3
  1. 12Break it on purposeTests and failure drills: double reservations, expiry, price changes, and failed email.Soon
  2. 13Ship it, then hardenVercel, Neon, R2 CORS, a verified sending domain, rate limits, and redacted logs.Soon
  3. 14House rules & the boss fightThe invariants, the footgun gallery, the definition of done, and where to grow next.Soon