Skip to content

BookDirect DocsA property management system — and how to build it

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.

Pick your playbook ​

Each playbook is how to build that layer. Product can still read it as a story.

You areStart here
Frontend (guest)Frontend — Marketplace — Screens / Pages
Frontend (partner)Frontend — Extranet — Screens / Pages
Middleware BackendLogic / Functions — folders in src/routes/
Core BackendCore Backend playbook — recommended usage, what not to add
Project ManagementActivation matrix — status, winner, ENVs, Core metadata. Dates: Roadmap

How the layers fit: Who calls what. Drafts: /next/.

Properties (PMS) ​

One Core Backend entity: property. Type is metadata / extra_data property_category: hotel | shortlet | apartment (Middleware also accepts villa | guesthouse).

  • Hotel (or apartment sold by unit) — rooms + rate plans
  • Shortlet (or apartment sold as a whole) — rates on the property

Do not create separate nll_hotel / nll_shortlet / nll_apartment tables.

Environments (dev) ​

  • Core Backend: https://backend-dev.bookdirect.live/public/api/v1/nellalink
  • Middleware Backend: https://middleware-dev.bookdirect.live
  • Frontend: Next.js at frontend-bookdirect-user-app

Full host table: Environments.

API-first. Middleware Backend wins over Core Backend when both exist.