Frontend — Marketplace (guest)
Search, book, pay, manage a stay. Next.js App Router under app/(marketplace) and app/(guest). Each screen names one winner URL.
Hotels, shortlets, and apartments are all properties. Frontend Marketplace is the guest app. Frontend Extranet is the partner app. IDOR lives on Core Backend API-key path settings and Middleware Backend — not on the Next.js app. The browse API key is public.
Each playbook is how to build that layer. Product can still read it as a story.
| You are | Start here |
|---|---|
| Frontend (guest) | Frontend — Marketplace — Screens / Pages |
| Frontend (partner) | Frontend — Extranet — Screens / Pages |
| Middleware Backend | Logic / Functions — folders in src/routes/ |
| Core Backend | Core Backend playbook — recommended usage, what not to add |
| Project Management | Activation matrix — status, winner, ENVs, Core metadata. Dates: Roadmap |
How the layers fit: Who calls what. Drafts: /next/.
One Core Backend entity: property. Type is metadata / extra_data property_category: hotel | shortlet | apartment (Middleware also accepts villa | guesthouse).
Do not create separate nll_hotel / nll_shortlet / nll_apartment tables.
https://backend-dev.bookdirect.live/public/api/v1/nellalinkhttps://middleware-dev.bookdirect.liveFull host table: Environments.