page:blueprints:hospitality:reporting dashboard:laravel

Hospitality: reporting dashboard using Laravel

Summary

A reporting dashboard blueprint for hospitality built with Laravel on Ample. Domain schema:

Infrastructure Requirements

Compute

Apps run in isolated x86_64 Firecracker microVMs that auto-pause when idle and wake on request; sizes are the priced VM sizes.

Postgres

Managed PostgreSQL 16 runs in its own microVM and is auto-provisioned when an app needs a database and no DATABASE_URL is supplied.

S3-compatible object storage

Buckets are S3-compatible with issued credentials; PutObject and GetObject are verified by canary. Other S3 operations are not verified.

Workflow Steps

  1. Model the hospitality domain
    Create the tables room_types, inventory_movements, bookings, booking_lines, exports. Room and package catalog lives in room_types; keep the sensitive classes (guest identity documents, payment details, stay history) out of this schema.

  2. Workflow step 1
    Model report definitions scoped to the agency.

  3. Workflow step 2
    Generate report artifacts from queries and store them with metadata.

  4. Workflow step 3
    Authorize downloads (401 without identity).

  5. Workflow step 4
    Deploy and verify an authorized export and the rejected anonymous request.

  6. Deploy
    Run the synchronous deploy once and read the result. Re-running with no change is a no-op.

    Command: ample deploy . --name --public --env S3_ENDPOINT=... --env S3_REGION=... --env S3_BUCKET=... --env S3_ACCESS_KEY_ID=... --env S3_SECRET_ACCESS_KEY=...

  7. Verify
    Run the pattern self-test(s) from the example (/p/generated-downloads) and your own acceptance checks for the hospitality workflow. Command: ample logs --kind build

Success Checks

Limitations

Cost Estimate