Skip to content

Dannycarey23/vet_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeClan Solo Python Project

This is the first project that I built while studying at CodeClan. The project was built in just under one week. Tech Stack: HTML5, CSS3, Python3, Flask, PostgreSQL

Vet Management App

A veterinary practice has approached you to build a web application to help them manage their animals and vets. A vet may look after many animals at a time. An animal is registered with only one vet.

MVP

  • The practice wants to be able to register / track animals. Important information for the vets to know is -
    • Name
    • Date Of Birth (use a VARCHAR initially)
    • Type of animal
    • Contact details for the owner
    • Treatment notes
  • Be able to assign animals to vets
  • CRUD actions for vets / animals - remember the user - what would they want to see on each View? What Views should there be?

Possible Extensions

  • Mark owners as being registered/unregistered with the Vet. unregistered owners won't be able to add any more animals.
  • If an owner has multiple animals we don't want to keep updating contact details separately for each pet. Extend your application to reflect that an owner can have many pets and to more sensibly keep track of owners' details (avoiding repetition / inconsistencies)
  • Handle check-in / check-out dates
  • Let the practice see all animals currently in the practice (today's date is between the check-in and check-out?)
  • Sometimes an owner does not know the DOB. Allow them to enter an age instead. Try and make sure this always up to date - ie if they visit again a year from now a 3 yr old dog is now 4.
  • Add extra functionality of your choosing - assigning treatments, a more comprehensive way of maintaining treatment notes over time. Appointments. Pricing / billing.

INSTALLATION GUIDE (mac)

  • Download and install Postgresql: https://www.postgresql.org/
  • Terminal commands: "pip3 install flask", "pip3 install python-dotenv" & "pip3 install psycopg2"
  • Clone the repo.
  • In terminal, cd into the project directory "../vet_project"
  • Connect the db; In terminal type "psql -d hutchVets -f db/hutchVets.sql"
  • Run the console file; In the terminal type "python3 console.py"
  • Initiate flask; In the console type "flask run"

Screenshots

homepage all pets solo pet all vets solo vet

Attributions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages