Skip to content

Repository files navigation

Gym Management System

A complete Gym Management System built with ASP.NET Core MVC following layered architecture principles and modern design patterns to manage members, trainers, sessions, bookings, membership plans, and user authentication.

Live Demo

🔗 https://YOUR-LIVE-DEMO-URL


Features

  • User Authentication & Authorization using ASP.NET Identity
  • Member Management
  • Trainer Management
  • Training Sessions Management
  • Session Booking System
  • Membership Plans Management
  • Category Management
  • Dashboard & Statistics
  • Validation & Error Handling
  • Responsive UI using Bootstrap
  • Online Deployment

Technologies Used

  • ASP.NET Core MVC
  • C#
  • Entity Framework Core
  • SQL Server
  • ASP.NET Identity
  • AutoMapper
  • Bootstrap 5
  • LINQ
  • Dependency Injection

Design Patterns

  • Repository Pattern
  • Unit Of Work Pattern
  • Result Pattern
  • Dependency Injection

Architecture

The project follows a layered architecture:

PowerFitness.PL

Presentation Layer

PowerFitness.BLL

Business Logic Layer

PowerFitness.DAL

Data Access Layer

This separation improves maintainability, scalability, testability, and code organization.


Design Decisions

  • Repository Pattern for data access abstraction.
  • Unit Of Work Pattern for managing database transactions.
  • AutoMapper for object mapping between entities and view models.
  • Result Pattern for standardized success and failure responses.
  • ASP.NET Identity for authentication and authorization.
  • Layered Architecture for separation of concerns.

Database

Database implementation:

  • SQL Server
  • Entity Framework Core
  • Code First Approach
  • EF Core Migrations

Getting Started

Clone Repository

git clone https://github.com/khaled-webworks/Gym-Management-System-ASP.NET-Core.git

Update Database

Update-Database

Run Project

dotnet run

Project Modules

Authentication

  • Login
  • Register
  • Role-Based Authorization

Members

  • Create Member
  • Update Member
  • Delete Member
  • View Member Details

Trainers

  • Create Trainer
  • Update Trainer
  • Delete Trainer
  • Trainer Specialization Management

Sessions

  • Create Training Sessions
  • Session Scheduling
  • Capacity Management
  • Booking Validation
  • Session Status Tracking (Upcoming / Ongoing / Completed)

Bookings

  • Session Booking
  • Capacity Validation
  • Booking Management

Membership Plans

  • Create Plans
  • Update Plans
  • Manage Pricing

Screenshots

Screenshots will be added soon.


Future Improvements

  • Payment Gateway Integration
  • Email Notifications
  • Reports & Analytics
  • REST API Version
  • SignalR Real-Time Notifications

Author

Khaled Ahmed Elwakeel

ASP.NET Core Developer

GitHub: https://github.com/khaled-webworks

About

Gym Management System built with ASP.NET Core MVC, Entity Framework Core, Identity, AutoMapper, Repository Pattern, Unit of Work, and Result Pattern, deployed online.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages