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.
Part 2
The Build
Next.js, inventory, admin sessions, uploads, reservations, WhatsApp, email, and the back room.
- 04An empty app that boots10 min read · Phase 1 · Next.js · setup
- 05The item is the unit of stock12 min read · Phase 2 · Drizzle · database
- 06One admin, a real sessionArgon2id, database sessions, login rate limits, and authorization inside every action.Soon
- 07The shop windowThe public shelf, item pages, share metadata, and the sold and reserved states.Soon
- 08Photos that load fastDirect-to-R2 uploads, sharp variants, EXIF stripping, and blur placeholders.Soon
- 09Reserve, don't buyA server-priced reservation, the race for one item, expiry, and the WhatsApp handoff.Soon
- 10The back roomThe admin item list, the reservation desk, confirm/cancel/extend, and the audit timeline.Soon
- 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.
- 12Break it on purposeTests and failure drills: double reservations, expiry, price changes, and failed email.Soon
- 13Ship it, then hardenVercel, Neon, R2 CORS, a verified sending domain, rate limits, and redacted logs.Soon
- 14House rules & the boss fightThe invariants, the footgun gallery, the definition of done, and where to grow next.Soon