Skip to content

A full-stack web app built using Python, a Flask MVC, HTML, CSS and a PostgreSQL database.

Notifications You must be signed in to change notification settings

Boystavros/gym_admin_app_Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gym Admin Application

A full-stack gym membership and class booking admin application built in Python and SQL using Flask, Psycopg2, PostgreSQL and VS Code.

The brief

Build a piece of software to help a local gym to manage memberships, and register members for classes.

The application allows users to:

  • create/edit/delete members
  • create/edit/delete classes
  • book members onto classes
  • display a list of upcoming classes
  • display all members booked onto a particular class
  • view class availability (bookings can only be made for classes with available spaces)
  • set membership category (off-peak members can only be booked on to classes at off-peak times)

Click on any of the screenshots below for a video demonstration of the app

"Blogogym home page"

"Classes page"

"Members page"

"Bookings page"

Set up and run application

(Please note, instructions below are for Mac users, different commands may be required by Windows users)

Software requirements:

Download the following software in the order shown:

Set up:

  • Clone this repository: (navigate to the desired local directory in Terminal) enter git clone https://github.com/Boystavros/solo_project_gym_app.git
  • Create the database: (from anywhere in Terminal) enter dropdb member_booking_system, followed by createdb member_booking_system
  • Add the database tables: (from within this project's directory in Terminal) enter psql -d member_booking_system -f db/member_booking_system.sql
  • Add seed data (optional): (from within this project's directory in Terminal) enter python3 console.py

Run:

  • Launch Flask: (from within this project's directory in Terminal) enter Flask run
  • Access homepage: (in browser) enter url localhost:5000/

About

A full-stack web app built using Python, a Flask MVC, HTML, CSS and a PostgreSQL database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published