/pet-hero

Web App develop in PHP, about a pet care system

Primary LanguagePHPMIT LicenseMIT

🐱‍🏍 Pet Hero | 🖥 Computer Lab IV Final Project

Team

  • Aceval Ventura Matías
  • Labrador Joaquín Leonardo
  • Torterolo Ambrosini Máximo

Narrative

It is required to make an app whose business model consists of people being able to provide pet care services. Said care is a short stay in exchange for remuneration.

Functional Requirements

First Checking

  • FR1 - Register new Owner.
  • FR2 - Register new Pet.
  • FR3 - Consult list of Pets (Owner).
  • FR4 - Register new Keeper.
  • FR5 - Stays management (Keeper).
  • FR6 - Consult Keepers list.

Second Checking

  • FR7 - Consult Keepers availability on a range of dates.
  • FR8 - Create a Reservation from an Owner to a Keeper
  • FR9 - Consult programmed Reservations and old ones as Keeper.
  • FR10 - Confirm Reservation as a Keeper.

Third Checking

  • FR11 - Create Payment Coupon for an Owner
  • FR12 - Coupon payment simulation (Reservation confirmation).

Miscellaneous

  • Runs in PHP >= 7.4
  • Need to create "Data" and "Uploads" folders on root

How to run prisma migrations

  1. Create an .env file on root.
  2. Set DATABASE_URL like in the example below
DATABASE_URL="mysql://root:@localhost:3306/pet_hero/"
  1. Run the next npm command in your favorite console
npx prisma migrate dev