The Leisure Bible/Developer Docs

Developer Documentation

Complete technical reference for The Leisure Bible platform — architecture, data models, APIs, permissions, and an interactive test suite. All documentation is generated from the live codebase.

System Architecture

High-level overview, service layers, routing, AI integrations, and security model.

ReactBase44 BaaSService LayerAuth

Database Schema & ERD

All 27 entities with fields, types, and relationships across 6 domain groups.

27 EntitiesForeign KeysRelationships

API Documentation

BookingAPI, BusinessAPI, Entity SDK, and AI integration reference with code examples.

bookingServicebusinessServiceEntity SDKAI

Permissions Matrix

Every user role (public, user, business, team roles, admin) against every platform feature.

8 RolesRBACTeam Permissions

Test Suite

62 in-browser tests covering pricing engine, availability logic, analytics, and plan guards. Run instantly — no setup.

Runs in BrowserPure FunctionsNo Auth Required

Quick Stats

27
Routes
27
Entities
30+
Service APIs
62
Test Cases