Duration: 2 Days
Pet Hotel is a Pet Boarding Management App for a hypothetical pet hotel. The user can add pets to the database of pets, including the option to upload a pet photo. Once a pet is added, the user can check-in and check-out pets, as well as manage clients (pet mom & dads), adding new clients and deleting old ones.
The following software is required to install Pet Hotel:
- Create a database named
pet_hotel - The queries in the
database.sqlfile are set up to create all the necessary tables and populate the needed data to allow the application to run correctly. The project is built on Postgres, so you will need to make sure to have that installed. I recommend using Postico to run those queries as that was used to create the queries. - Open up your editor of choice and run an
npm install - If Postgres is not already running, start it by entering
brew services start postgresqlinto the terminal - Run
npm run serverin your terminal - Run
npm run clientin your terminal - The
npm run clientcommand will open up a new browser tab for you!
- Anais is the owner of Bubbles & Beds Pet Hotel. B&B offers an overnight boarding service for pets.
- Anais used to keep track of her clients and their pets in an Xcel spreadsheet, but now she uses Pet Hotel.
- Anais has a new client Jane who would like to board her puppy Milo, so first Anais registers Jane as a Pet Owner.
- Next, Anais registers Milo as a Pet, including Milo's breed and description, and then uploads a photo of Milo for easy identification.
- On the day Jane drops Milo off for the first time for boarding, Milo is already in the system and so Jane clicks the Check-In button next to Milo's name so she knows that Milo is currently being cared for at the B&B Pet Hotel. When Milo's stay is over, Anais clicks Check-Out.
- Six months later, when Jane informs Anais that she is moving to a different town and will no longer be a client of Anais', she deletes Jane as an Pet Owner so as not to clog up her database.
Thanks to Prime Digital Academy who equipped and helped me to make this application a reality and my cohort who built this web application alongside me.
If you have suggestions or issues, please contact me through LinkedIn.