page:blueprints:hospitality:vendor portal:laravel

Hospitality: Vendor Portal Using Laravel

Summary

A vendor portal blueprint for hospitality built with Laravel on Ample. Domain schema:

Public information includes:

Kept out of scope until handling is reviewed:

Guest identity documents are sensitive; only availability and booking status are modeled here.

Technical Basis

Verified on Laravel: a role-to-document access model with negative tests (401 without identity, 403 for the wrong role) and a private-bucket round-trip for the allowed role (private=ok).

Representative Queries

Resource Requirements

Infrastructure Requirements

  1. Compute: Apps run in isolated x86_64 Firecracker microVMs that auto-pause when idle and wake on request; sizes are the priced VM sizes.
  2. Postgres: Managed PostgreSQL 16 runs in its own microVM and is auto-provisioned when an app needs a database.
  3. S3-compatible object storage: Buckets are S3-compatible with issued credentials; PutObject and GetObject are verified by canary.

Workflow Steps

  1. Model the hospitality domain: Create the tables room_types, inventory_movements, bookings, booking_lines, document_access.
  2. Workflow step 1: Model vendors scoped to the agency with roles.
  3. Workflow step 2: Authorize document access by vendor and role (401, 403 negative tests).
  4. Workflow step 3: Store vendor documents in the private bucket.
  5. Workflow step 4: Deploy and verify the negative tests and an authorized download.
  6. Deploy: Run the synchronous deploy once and read the result. Re-running with no change is a no-op.
  7. Verify: Run the pattern self-test(s) and your own acceptance checks for the hospitality workflow.

Examples

Success Checks

Limitations

Cost Estimate

Evidence Summary

Next Actions

  1. Browse the catalog index
  2. Search published recipes by intent, stack, and constraints.
  3. Prepare a side-effect-free deployment plan for an authorized project.
  4. Read the existing agent authentication setup.
  5. Browse Hospitality.
  6. Browse Vendor portal.
  7. Browse Laravel.
  8. Browse Deploy web app.