Skip to content

AyberKrgz/GYM-Membership-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GYM-Membership-System

Description

This is a Java implementation of the GYM Membership System. MySQL database is used in this project.

The GYM Membership system allows users to:

  • Sign in to the GYM Membership System
  • Login to view and change their informations.
  • Secret admin access for accessing the members' informations, signing up new ones, and accessing the database tables.

Installation

  • Firstly, database must be injected to MySQL. You must create a new schema and name it as 'gymmembership'.
  • Then, you have to import the dump file named 'DATABASEE' that we provided in the files.
  • To run the project properly, you must install JDK-21.
  • After that, you execute the jar file located at the file named 'out'.

How To Use

After you run the 'GYM_Project.java' the login screen welcomes you.

In this screen you can "sign up", "login" into your account as a customer or you can log in as "admin".

Database Login

User must login to the database using their root name and password.

Admin Login

To login as admin you should enter admin as both username and password.

Admin panel let's user to:

  • View database tables (gym, personal trainer, member, membership)
  • Sign up a new person into the GYM.
  • Go to the person's page with only their IDs. (without password)

Sign Up

This button directs user to the sign up page where the user gives their information to sign up to the GYM.

User must fill all the information to sign up.

  • PERSONAL INFORMATIONS: Name, Surname, ID, Phone Number
  • MEMBERSHIP INFORMATIONS: Branch Name, Membership Type, Membership Duration, Personal Trainer selection
  • PHYSICAL INFORMATIONS: Height, Weight

NOTE:

After the user completes their sign up their username will be set as their ID and 
their password will be set as their Phone Number.

Login

To access to their information, user must login to the GYM Membership System with their Username (ID) and their password (Phone Number). If the user logs in successfully, 'MembershipInformation.java' screen will welcome them.

In this screen they can:

  • See their personal informations, informations about their membership, and their pyhsical informations.
  • Change their personal trainer
  • Edit their Weight and Height if they are changed
  • Delete their account if they wish.

Contributing

Contributions are welcome! If you'd like to improve this Minesweeper game, feel free to fork this repository and submit a pull request with your changes.

Credits