Skip to content

abasile1-tech/cyberpunk_ripperdoc_appointment_scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cyberpunk Ripperdoc Appointment Scheduler

Ripperdoc

In the Cyberpunk genre of science fiction, ripperdocs are medical practitioners that can install cybernetic prostheses, called cyberware.

➡️ Running Instructions

  • Clone the repository to your local machine by using the command line:

     git clone git@github.com:abasile1-tech/cyberpunk_ripperdoc_appointment_scheduler.git
    
  • Make sure you have Python installed and available from the command line:

  • Install dependencies from the command line:

     pip install Flask
     pip install python-dotenv
    
  • Install PostgreSQL

  • Create the database

  • Create a .env file in the root directory of the project:

  • Add the following lines of code to the .env file and insert your own database information:

     USER = "postgres"
     PASSWORD = "your_password"
     DATABASE = "database_name"
    
  • Run the following lines from the command line:

     flask db init
     flask db migrate
     flask db upgrade
    
  • If you would like to seed the database with some starter values, run the following from the command line:

     flask seed
    
  • To run the app from the command line:

    flask run
    
  • Open the link generated by the command line in a web browser (this is usually localhost:5000)

My Project Brief

A customer (don’t worry about multiple users just yet, we can pretend this is already within a user being logged in) wants to be able to book an appointment to get chipped with the latest implant on the market.

✅ MVP

A customer should be able to create a Booking with a name, date, time, and Treatment. A customer should be able to see all their scheduled treatments and click through on one to edit it or cancel it. A Treatment can just have a name.

Extensions:

  • ✅ Date and time could be handled as date type instead of as strings
  • ✅ A treatment could have a length of time
  • Could you try preventing double booking?

🔧 The Technologies I Used

  • Python
  • Flask
  • PostgreSQL
  • SQLAlchemy
  • CSS
  • HTML

📸 Screenshots

home our procedures book appointment treatment mantis blades david_martinez admin_portal customer_portal customers bookings edit david martinez edit mantis blades add_customer add_treatment booking v

About

This web app is based on the popular video game Cyberpunk 2077 and the television series Cyberpunk: Edgerunners. It is a booking website for a Ripperdoc where a user can book appointments for custom cyberware implants.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors