A Modern Role-Based Gym Management & Fitness Booking Platform
π Live Demo Β Β·Β π Docs Β Β·Β π Report Bug Β Β·Β β¨ Request Feature
Gym Engine is a full-stack gym management ecosystem that empowers fitness centers to operate smarter. Users can join, train, book fitness classes, and manage programs β all through a beautifully designed, role-aware interface.
Whether you're an admin managing the whole gym, a trainer running classes, or a member crushing goals β Gym Engine has a tailored experience built just for you.
|
|
βββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Role β Capabilities β
βββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β π‘οΈ Admin β Full control: users, schedules, analytics, settings β
β ποΈ Trainer β Manage own classes, set schedules, view members β
β π€ Member β Book classes, track progress, choose trainers β
β π₯ Non-mem β Browse programs, register, upgrade to member β
βββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Program | Description | Level |
|---|---|---|
| π’ Basic Fitness | Foundation training for beginners | Beginner |
| π§ Yoga | Flexibility, balance & mindfulness | All Levels |
| πͺ Body Building | Structured hypertrophy programs | Intermediate |
| π₯ Muscle Courses | Advanced strength & conditioning | Advanced |
| π₯οΈ Frontend | βοΈ Backend |
|---|---|
|
|
User Login
β
βΌ
Role Detection βββββββββββββββββββββββββββββββββββ
β β
βΌ βΌ
Admin Dashboard Member / Trainer Dashboard
β β
βΌ βΌ
Manage Users Browse & Book Classes
Manage Schedules β
View Analytics βΌ
Select Trainer
β
βΌ
Confirm Booking β
β‘ Try the platform instantly β no sign-up needed!
| Role | Password | |
|---|---|---|
| π‘οΈ Admin | admin@gmail.com |
123456 |
| ποΈ Trainer | trainer@gmail.com |
123456 |
| π€ Member | member@gmail.com |
123456 |
| π₯ Non-member | nonmember@gmail.com |
123456 |
https://gym-engine-server.vercel.app/api/v1
| π₯οΈ Frontend | βοΈ Backend (MVC) |
|---|---|
|
|
# Frontend
git clone https://github.com/tuhin360/gym-engine-client.git
cd gym-engine-client
# Backend
git clone https://github.com/tuhin360/gym-engine-server.git
cd gym-engine-servernpm installFrontend β create .env.local:
NEXT_PUBLIC_API_URL=https://gym-engine-server.vercel.app/api/v1
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your_nextauth_secretBackend β create .env:
PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
FRONTEND_URL=http://localhost:3000# Frontend
npm run dev # β http://localhost:3000
# Backend
npm run dev # β http://localhost:5000| Module | Technology | Description |
|---|---|---|
| π Auth Module | NextAuth + JWT | Secure login, role detection, session handling |
| ποΈ Class Management | Express + MongoDB | CRUD for fitness classes & schedules |
| π Schedule Manager | REST API | Create, update & delete time slots |
| π€ RBAC | Middleware + JWT | Role-based access control across all routes |
| π Analytics Dashboard | Next.js + Charts | Admin insights, user activity, booking trends |
- Role-based authentication & dashboards
- Class booking & trainer assignment
- Admin analytics
- Dark / Light mode
- π± Mobile App (React Native)
- π Real-time push notifications
- π¬ In-app chat (Trainer β Member)
- π Advanced analytics & reporting
- π Multi-language / i18n support
- π³ Payment integration
If Gym Engine helped you or you find it interesting, please consider giving it a β star on GitHub β it means a lot and helps others discover the project!
β
Star β github.com/tuhin360
Made with β€οΈ and ποΈ by Jahedi Alam Tuhin