How aaban-khursheed/lazy-laundry works
LazyLaundry is a web booking platform with a customer booking and tracking experience and a separate operator workspace. Customers check availability, submit bookings, and later track or change them; operators search bookings, inspect details, and perform booking actions. The browser clients send requests through a shared API wrapper to the Worker. The excerpts show these client-side calls and some rendering responsibilities; the Worker implementation was read but not excerpted, so its internal processing and storage relationships are not detailed here.
Main entry points: dashboard.js Booking dashboard · api.js API client · app.js Booking app · booking.js Booking flow
Components 15
Customer booking
- Booking app
public/booking/app.js - Booking flow
public/booking/modules/booking.js - Tracking and changes
public/booking/modules/tracking.js - Security check
public/booking/modules/turnstile.js
Operator workspace
- Operator app
public/operator/app.js - Booking dashboard
public/operator/modules/dashboard.js - Booking views
public/operator/modules/components.js - Action dialogs
public/operator/modules/dialogs.js - Booking actions
public/operator/modules/actions.js
Shared client services
- API client
public/shared/api.js - Date and format helpers
public/shared/utils.js
API service
- HTTP API
api/worker.js
Other components
- Customer
- Cloudflare Turnstile
- Laundry operator
Connections 19
- Customer → Booking app: uses
- Booking app → Booking flow: initializes
public/booking/app.js - Booking app → Tracking and changes: initializes
public/booking/app.js - Booking app → API client: checks config
public/booking/app.js - Booking flow → API client: requests availability and bookings
public/booking/modules/booking.js - Booking flow → Security check: gets verification token
public/booking/modules/booking.js - Tracking and changes → API client: requests tracking and changes
public/booking/modules/tracking.js - Tracking and changes → Security check: gets verification token
public/booking/modules/tracking.js - Security check → Cloudflare Turnstile: loads challenge
public/booking/modules/turnstile.js - Laundry operator → Operator app: uses
- Operator app → Booking dashboard: initializes
public/operator/app.js - Booking dashboard → API client: searches bookings
public/operator/modules/dashboard.js - Booking dashboard → Booking views: renders
public/operator/modules/dashboard.js - Booking dashboard → Action dialogs: requests confirmation
public/operator/modules/dashboard.js - Booking dashboard → Booking actions: delegates actions
public/operator/modules/dashboard.js - Action dialogs → Booking views: checks eligibility
public/operator/modules/dialogs.js - Booking flow → Date and format helpers: uses scheduling helpers
public/booking/modules/booking.js - Booking views → Date and format helpers: uses formatting helpers
public/operator/modules/components.js - API client → HTTP API: sends HTTP requests
public/shared/api.js