A comprehensive digital gym management solution built with modern web technologies to replace paper-based receipt systems and manual communication processes.
This system addresses key challenges in gym management:
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β Admin Panel β β Member Portal β β User Portal β
β β β β β β
β β’ Member CRUD β β β’ View Bills β β β’ View Details β
β β’ Billing β β β’ Notifications β β β’ Search Recordsβ
β β’ Notifications β β β’ Profile Mgmt β β β’ Public Info β
β β’ Reports β β β β β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β β β
βββββββββββββββββββββββββΌββββββββββββββββββββββββ
β
βββββββββββββββββββ
β Hono API β
β β
β β’ Authenticationβ
β β’ CRUD Ops β
β β’ Billing Logic β
β β’ Notifications β
βββββββββββββββββββ
β
βββββββββββββββββββ
β Firebase β
β β
β β’ Firestore DB β
β β’ Authenticationβ
β β’ Cloud Storage β
βββββββββββββββββββ
βββ backend/
β βββ database/
β β βββ firebase.ts # Firebase configuration
β β βββ models.ts # Data models and types
β β βββ queries.ts # Database query functions
β βββ routes/
β β βββ admin.ts # Admin routes
β β βββ members.ts # Member routes
β β βββ auth.ts # Authentication routes
β β βββ static.ts # Static file serving
β βββ middleware/
β β βββ auth.ts # Authentication middleware
β β βββ logging.ts # Request logging
β βββ utils/
β β βββ logger.ts # Logging utility
β β βββ validation.ts # Input validation
β βββ index.ts # Main API entry point
βββ frontend/
β βββ components/
β β βββ admin/ # Admin components
β β βββ member/ # Member components
β β βββ common/ # Shared components
β β βββ App.tsx # Main app component
β βββ pages/
β β βββ AdminDashboard.tsx
β β βββ MemberDashboard.tsx
β β βββ Login.tsx
β βββ services/
β β βββ api.ts # API service layer
β β βββ firebase.ts # Firebase client config
β βββ utils/
β β βββ helpers.ts # Utility functions
β βββ index.html # Main HTML template
β βββ index.tsx # Frontend entry point
β βββ style.css # Custom styles
βββ shared/
β βββ types.ts # Shared TypeScript types
β βββ constants.ts # Shared constants
βββ tests/
βββ unit/ # Unit tests
βββ integration/ # Integration tests
βββ e2e/ # End-to-end tests
FIREBASE_API_KEY=your_api_key FIREBASE_AUTH_DOMAIN=your_auth_domain FIREBASE_PROJECT_ID=your_project_id FIREBASE_STORAGE_BUCKET=your_storage_bucket FIREBASE_MESSAGING_SENDER_ID=your_sender_id FIREBASE_APP_ID=your_app_id
Clone/Fork this Val Town project
Configure Firebase:
Deploy:
# Unit tests npm test # Integration tests npm run test:integration # E2E tests npm run test:e2e
ERROR: System errors and exceptionsWARN: Warning conditionsINFO: General informationDEBUG: Detailed debugging informationSupplement Store Module
Nutrition Module
Personal Training Module
Mobile App
This project is licensed under the MIT License - see the LICENSE file for details.
For support and questions:
Built with β€οΈ using Val Town Platform