A full-stack Gym Management System designed to simplify the day-to-day operations of a fitness center. The application provides an intuitive interface for managing members, trainers, membership plans, enrollments, and payments while using a RESTful backend API and a MySQL database for reliable data management.
This project demonstrates full-stack web development concepts including CRUD operations, RESTful API development, relational database design, and responsive web interfaces.
- ๐ Dashboard with gym management overview
- ๐ฅ Member Management (Create, Read, Update, Delete)
- ๐๏ธ Trainer Management
- ๐ณ Membership Plan Management
- ๐ Member Enrollment
- ๐ฐ Payment Management
- ๐๏ธ MySQL Database Integration
- ๐ RESTful API Architecture
- ๐ฑ Responsive User Interface
- โก Fast and lightweight application
- HTML5
- CSS3
- JavaScript (ES6)
- Node.js
- Express.js
- MySQL
- Git
- GitHub
- Postman
- VS Code
Gym_Management_System/
โ
โโโ backend/
โ โโโ routes/
โ โโโ config/
โ โโโ node_modules/
โ โโโ package.json
โ โโโ server.js
โ โโโ .env
โ
โโโ frontend/
โ โโโ css/
โ โโโ js/
โ โโโ images/
โ โโโ pages/
โ โโโ index.html
โ
โโโ database/
โ โโโ gym_management.sql
โ
โโโ README.md
โโโ .gitignore
โโโ LICENSE
git clone https://github.com/saktronX/Gym_Management_system.gitcd Gym_Management_systemcd backend
npm installCreate a .env file inside the backend folder.
DB_HOST=localhost
DB_USER=your_username
DB_PASSWORD=your_password
DB_NAME=gym_management
PORT=5000CREATE DATABASE Gym_Management_System;
USE Gym_Management_System;Then import gym_management.sql using MySQL Workbench, phpMyAdmin, or the MySQL command line.
npm startor
node server.jsThe backend will start on:
http://localhost:5000
Open the frontend in your browser to begin using the application.
The project manages the following entities:
- Members
- Trainers
- Membership Plans
- Payments
- Enrollments
- Classes
- Gym Branches
- Maintenance Records
- Lockers
The Gym Management System uses MySQL as its relational database. Database design, schema creation, data management, and migrations were performed using XAMPP and phpMyAdmin.
- gym_management.sql โ Complete MySQL database schema for setting up the project.
- migrate_v2.sql โ Migration script containing schema updates and modifications.
- MIGRATION_NOTES.md โ Documentation describing the migration changes.
The following ER diagram illustrates the database structure and relationships between the project's tables.
| Method | Endpoint | Description |
|---|---|---|
| GET | /members |
Get all members |
| POST | /members |
Add a new member |
| PUT | /members/:id |
Update member |
| DELETE | /members/:id |
Delete member |
| GET | /trainers |
Get trainers |
| POST | /trainers |
Add trainer |
| GET | /plans |
Membership plans |
| GET | /payments |
Payment records |
| POST | /payments |
Add payment |
| GET | /enrollments |
Member enrollments |
Add screenshots of your application inside an
assets/folder and replace the placeholders below.
assets/dashboard.png
assets/members.png
assets/trainers.png
assets/plans.png
assets/payments.png
- User Authentication
- Role-Based Access Control
- Attendance Tracking
- Workout Schedule Management
- Diet Plan Management
- Email Notifications
- Report Generation
- Analytics Dashboard
- Docker Deployment
- Cloud Hosting
You can test the REST APIs using Postman or any API client.
Verify CRUD operations for:
- Members
- Trainers
- Membership Plans
- Payments
- Enrollments
Contributions are welcome.
- Fork the repository.
- Create a new feature branch.
- Commit your changes.
- Push the branch.
- Open a Pull Request.
This project is licensed under the MIT License.
- Full-stack application development
- Backend API development
- Frontend implementation
- Project architecture
- GitHub: https://github.com/saktronX
- LinkedIn: https://www.linkedin.com/in/saksham-verma22/
- Database schema design and improvements
- Relational database normalization
- Entity Relationship (ER) Diagram
- Foreign key relationships and schema updates
- Database documentation
- GitHub: https://github.com/Anant2k05
- LinkedIn: https://www.linkedin.com/in/anant-s-kushwaha-24310b1a1/
If you found this project useful, consider giving it a โญ Star on GitHub. It helps others discover the project and supports future development.
