Skip to content

Jackten/gym-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gym App

Standalone product repository for Jack’s gym booking + prepaid credits web app.

Purpose

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.

Core Product Requirements (v0)

  • 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, Warm 1.05x, Hot 1.10x, Peak 1.15x
  • Live occupancy pricing (after 2 users) uses:
    • 1st 1.00x, 2nd 1.00x, 3rd 1.10x, 4th 1.20x, 5th 1.35x
  • 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.

Documents

  • docs/product-spec.md — product requirements and domain model
  • docs/pricing-engine.md — pricing logic, formulas, and examples
  • docs/booking-rules.md — booking constraints and conflict handling
  • docs/roadmap.md — phased implementation plan + future features
  • docs/decisions/2026-03-12-locked-pricing-booking.md — locked pricing/booking policy snapshot
  • docs/workshop/technical-pass.md — technical architecture pass (data model, pricing rules, booking concurrency model)

Minimal Scaffold

  • web/README.md contains frontend setup notes.
  • email-otp-api/ contains the serverless email OTP backend for real email verification.

Setup

cd /root/clawd/projects/gym-app
# choose your stack and initialize under /web when ready

Repository Status

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors