Skip to content

Jaredslocker21/love_massages_pp3

Repository files navigation

Love Massages Internal Booking Application

Love Massages is a simple internal booking application. Current members of Love Massages are offered Free Massages.

Their booking is referenced using their Name and is stored after all selection have been completed in the adminstrations cloud Google Document and can be contacted later on by their therapist to personally set up a date and time.

mock up of application

Link to the live Application Live Site

UX

Purpose:

  1. Gives Loves Massages Administration a Booking application to share with their members. Store data from their user and directly updates to a Google Document where the administration can follow up with their members.

  2. Allows current members to create their booking for a free massage by adding their name, selecting their type of Therapy, their Therapist, and printing out a confirmation.

  3. The user experience of the administration is to gather data from their current members. Name, therapy and therapist selections to create a booking for their members and back-end administration to follow up.

To add function, the algorith adds more Therapist's and Therapies Automatically adding them as a list item 1-4 or 5 or removing a list item will automatically shorten the displayed list.

Flow chart of the program functions

Flow Chart of the application

UI and Communication

Colorful messages explaining their FREE MASSAGE and simple to follow instructions.

Organized with further coloring to comminicate selections and clarifications.

  1. Welcome Message

welcome message

  1. Enter your name prompt. After your name has been entered. A colorful message is printed to validate the members selection and the next selection is prompted.

Enter Name message

  1. Select Therapy: Select the type of Massage Therapy is a numerical selection: 1-4. Both a numerical 1-4 selection and a press enter prompted After the selection is made a confirmation of the selection is printed

Select Therapy

  1. Select therapist: Select the type of Massage Therapist is a numerical selection: 1-4. Both a numerical 1-4 selection and a press enter prompted. After the selection is made a confirmation of the selection is printed

Select Therapist

  1. After every selection has been made a verification of the Clients name, therapy and therapist is printed back to the member and the booking is made in the google document for the backend administration.

Thank You message

  1. A cloud google document is then updated as per the function of the application.

Google Document

Testing

  • 7/5/22 Tested google doc is being read and data is printed in the console and it is. Inputs are returning data and printing a response.

  • 7/15/22 Lauren-Nicole for testing the application and giving feedback.

pep8 no errors

  1. Name selection Test
  • Nothing is entered and prompted to add a name

Name Test

  • Numerical Test. When numbers are add a prompt to select letters fron A-Z and another request is made.

Name Test

  • Over 20 character as I myself have a long name. I have chosed 20 characters. A too long prompt is given to the member and another request is made

Name Test

  1. Choose Therapy Test.
  • When letter is selected instead of number an invalid prompt occurs and another request is made to select 1-4.

Therapy Selection Test

  • When a selection greater than the Therapies are offered another request is made to select 1-4.

Therapy Selection Test

  • When nothing is selected an invalid prompt appears and another request is made to select 1-4.
  1. Choose Therapist Test.
  • When a selection greater than the Therapist are offered another request is made to select 1-4.

Therapy Selection Test

  • When nothing is selected an ivalid prompt and another request is made to the member.

Therapy Selection Test

Frameworks: Libraries & Programs Used

GitPod - to create application in a cloud environment GitHub - to store my repository . Lucid - Create a flow chart. Heroku - Deployment for a python application evironment. VS studio code to edit and store saved editable code.

Deployment

log in to heroku create a new app navigate to settings add the following KEY/VALUE pairs: CREDS + copy/paste data from creds.json file PORT + 8000 add build packs (in this order) Python nodejs go to GitPod terminal type the following commands into the terminal: heroku login -i enter in username + password heroku apps heroku git:remote -a my-app-name git add . git commit -m "Deploy to Heroku cia CLI" git push origin main git push heroku main

Credits

StackOverflow provided the reminder for how to index my 'for loop'.

Programiz Numeric validations

Programiz Alphabet validations

Programiz Inumerate method for displaying lists

Stack Overflow blank lines

Instructions on adding (Termcolor)[https://pypi.org/project/termcolor/] came from StackOverflow.

I want to thank my fellow student Lauren-Nicole for testing and Al-Amin Sanusi for keeping my head cool.

My mentor Akshat Garg for his patience, clarity and just overall awesome attitude.

Bugs

This bug has no affect on the overall function it is just an aesthetic issue.. as it does give the user a generic invalid message and it returns back to the main function to allow the user to renter their numeric function I have not been able to find a solution yet.

I have used two if not statements for the digit() method and numeric() method I have used if alpha() method and it wont allow me to use these methods.

if not digit if not digit

if not numeric if not numeric

if alpha if alpha

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors