Skip to content

Core Backend playbook — how to build the source of truth

Job: store users and entities. How to configure the core backend for this PMS (including API-key path settings for IDOR). Rarely talk to the outside world.

BookDirect is a PMS on generic Smart Meta Manager. Conventions live in these playbooks — not as new hotel tables in Laravel. Laravel should be installed and running on server.

Playbooks

PageWhat it is
Recommended usageUse this / do not add this
AuthRegister, login, refresh, logout
Entitiesproperty, room, rate_plan, booking, payment
Metadata catalogproperty_category, amenities

Explorer: https://backend-dev.bookdirect.live/public/docs/api#/
Contract: specs/core/v1/openapi.yaml

One property type

POST https://backend-dev.bookdirect.live/public/api/v1/nellalink/smart-meta-manager/entity/property

Then metadata property_category = hotel | shortlet | apartment. Never nll_hotel / nll_shortlet / nll_apartment.

What Core Backend must not grow into

No Paystack, Resend, GuestTraction, or date-overlap availability engine. Those are Middleware Backend playbooks.

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