Middleware Backend playbook
Job: processors under src/routes/. Enable in config/routes.json. Persist on Core Backend. Do not use Mongo as source of truth (sample route only).
Default view: Logic / Functions. Screens / Pages is a map onto Frontend — Marketplace / Frontend — Extranet.
Live explorer (2026-09-18): https://middleware-dev.bookdirect.live/docs/api#/.
| Folder | Mount | Status |
|---|---|---|
| Properties | api/v1/nellalink/properties | live |
| Rates and packages | api/v1/nellalink/rates-packages | live |
| Bookings | api/v1/nellalink/bookings | live |
| Availability | api/v1/bookdirect/availability | live |
| Payments | api/v1/bookdirect/payments | live |
| Reservations | api/v1/nellalink/reservations | live |
| File manager | api/v1/nellalink/file-manager | live |
Not in routes.json yet: refunds, emails, google-rates.
IDOR: JWT vs property/booking before write. Service key to Core is server-only. Webhooks: PSP signature. Availability returns counts only.
ENV / Metadata Catalog · Screens map · Search indexes / Core queries · Project Management