8000 GitHub - NethminaGunasekara/fitness-home: A solution for simplifying operations within a gym environment
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

NethminaGunasekara/fitness-home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

38 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

logo

Fitness Home

A solution for simplifying operations within a gym environment!

top language top language contributors last update website status license


πŸ“” Table of Contents

🌟 About the Project

The "Fitness Home" gym management system is a solution for simplifying operations within a gym environment designed by a group of students of the 17th Batch of the Diploma in Information Technology program at Esoft Metro Campus Gampaha Branch. The objective of this system is to simplify operations within a gym environment by providing a user friendly interaction for members, trainers, and administrators.

πŸ“· Screenshots

screenshot

πŸ‘Ύ Tech Stack

Application
Documentation Website

🎯 Features

  • Automatic Login: If the user has already logged in earlier, they are directly taken to their dashboard. The application directly takes them into their account as the email and password stored in the App.config file from the previous login provide direct access, and they need not authenticate themselves again.

  • New Member Self-Registration: This facility offered by Fitness Home allows the new members to fill in their registration information, choose a membership plan, and even pay for the membership and admission fees while enrolling.

  • Trainer Functions: The trainers shall be able to conduct classes, discuss things with the members, and assess the progress of every member in their fitness by setting daily calorie goals, activities, height, and weight metrics.

  • Admin Dashboard: The system offers a dashboard where all the activities around the gym can be tracked, and profile information reviewed for the administrators.

🎨 Color Reference

Color Hex
Background Color #0D0D0D
Accent Color #A1D200
Text Color #FFFFFF

πŸ”‘ Environment Variables

To run this project, you need to set up the following configuration in the App.config file located in the fitness-home directory. This configuration includes database connection settings and user credentials.

Steps to Configure Environment Variables

  1. Open the App.config file:

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
        <startup>
            <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
        </startup>
    
        <appSettings>
            <add key="DB_HOST" value="METHSIE\SQLEXPRESS" />
            <add key="DB_USER" value="db_user" />
            <add key="DB_PASS" value="GymApp!23$7" />
            <add key="DB_NAME" value="fitness-home" />
            <add key="USER_EMAIL" value="" />
            <add key="USER_PASSWORD" value="" />
        </appSettings>
    </configuration>
    
  2. Set DB_HOST to your SQL Server instance (i.e. Server name used when connecting to the SSMS).

  3. Create a new SQL Server user:

  • Open SQL Server Management Studio (SSMS) and connect to your SQL Server instance.
  • In Object Explorer, expand your server and navigate to Security > Logins.
  • Right-click Logins and select New Login.
  • Enter the following credentials:
    • Login name: db_user
    • Password: GymApp!23$7
  • Under Server Roles, assign the user the necessary permissions, such as db_datareader and db_datawriter, to allow read and write access to the database.
  • Click OK to create the user.
  • Right click on the Server, navigate to Properties > Security and ensure SQL Server and Windows Authentication mode is enabled.

By following these steps, you will configure the necessary environment variables for the project to connect to the database and support user authentication.

⚑ Getting Started

‼️ Prerequisites

To run this project, you need to have the following tools installed:

  1. .NET SDK
    Download and install the .NET SDK (version 6.0 or later) from the official .NET website:
    https://dotnet.microsoft.com/download

  2. Visual Studio

  3. SQL Server

  4. SQL Server Management Studio (SSMS)

Once these prerequisites are installed, you can proceed to clone the project and set up the database.

⚑ Run Locally

  1. Clone the project
  git clone https://github.com/NethminaGunasekara/fitness-home.git
  1. Navigate to the project directory
  cd fitness-home
  1. Open the solution in Visual Studio (fitness-home.sln)

  1. Set up sample data, including an admin account, a trainer account, and membership plans:
  • Open SQL Server Management Studio (SSMS)
  • Connect to your SQL Server instance.
  • Execute the SQL script located at assets/scripts/initialize.sql by opening and executing it in SSMS. This will create initial test data for the gym management system.
  1. Build and Run the Application
  • In Visual Studio, go to "Build > Build Solution" or press Ctrl+Shift+B to build the solution.
  • Click Start or press F5 to run the application.

❔ FAQ

  • Is this project complete?

    • Although we have completed the member dashboard and member registration, there are still many features to develop within the admin and trainer dashboards of our gym management system. These will be added progressively through our team's collaborative efforts.

🀝 Contact

πŸ’Ž Acknowledgments

We are grateful to all the following resources and libraries that contributed in making this project possible:

About

A solution for simplifying operations within a gym environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0