Standalone product repository for Jack’s gym booking + prepaid credits web app.
Build a web app where members can:
- book gym sessions,
- purchase and spend prepaid credits (1 credit = $1 equivalent),
- see transparent pricing that adjusts with demand and occupancy.
This repo is intentionally separate from OpenClaw and other work.
- Session booking with capacity limit: max 5 people at the same time.
- Credits wallet and top-ups with bulk discount support.
- Base prices:
- 30 min = $30 / 30 credits
- 60 min = $50 / 50 credits
- each additional hour = +$25 / +25 credits
- Prime-time behavior is dynamic from a trailing 4-week booking history (not manually hard-coded time ranges), with demand tiers:
- Normal
1.00x, Warm1.05x, Hot1.10x, Peak1.15x
- Normal
- Live occupancy pricing (after 2 users) uses:
- 1st
1.00x, 2nd1.00x, 3rd1.10x, 4th1.20x, 5th1.35x
- 1st
- Quote hold duration: 15 minutes.
- Cancellation policy:
- full refund if cancelled >2 hours before start,
- within 2 hours: no automatic refund,
- admin override available.
- During booking, users indicate planned:
- workout type,
- equipment they expect to use, so conflicts can be reduced.
docs/product-spec.md— product requirements and domain modeldocs/pricing-engine.md— pricing logic, formulas, and examplesdocs/booking-rules.md— booking constraints and conflict handlingdocs/roadmap.md— phased implementation plan + future featuresdocs/decisions/2026-03-12-locked-pricing-booking.md— locked pricing/booking policy snapshotdocs/workshop/technical-pass.md— technical architecture pass (data model, pricing rules, booking concurrency model)
web/README.mdcontains frontend setup notes.email-otp-api/contains the serverless email OTP backend for real email verification.
cd /root/clawd/projects/gym-app
# choose your stack and initialize under /web when ready- Local git repo: initialized
- GitHub remote: https://github.com/Jackten/gym-app
- Default branch pushed:
main