Skip to content
/ adopt Public

An example of a pet-adoption agency that uses server-side databases to record pet information.

Notifications You must be signed in to change notification settings

acollino/adopt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adopt

An example of a pet-adoption agency that uses a server database to record pet information.

Usage

Pets on the site are stored in a corresponding table in the database, recording their name, species, age, photo url, adoption availability, and any notes on the pet.

The pets are displayed on the home page, and their detailed pages will display aditional information about them. The details page also contains an edit form to alter the availability status, photo url, or pet notes.

Information is stored in a server-side database using PostgreSQL, accessed via Flask-Sqlalchemy. Forms and additional form validation is performed using WTForms, accessed via Flask-WTF.

The app is hosted on Heroku and is available at https://acollino-adopt.herokuapp.com.

Previews

Adopt home page

Adopt pet-details page

Adopt page for submitting a new pet

Adopt pet-details page, displaying the red-invalid input warning for the photo URL

Attributions

Navigation Bar Font: Chewy, on Google Fonts

Dog and Cat Icon: Created by Becris - Flaticon

Paw-Heart Default Photo: Created by Freepik - Flaticon

Pet Images, from Pixabay: Peanut, Mr. Sootpaws, Einstein, Penelope, Lola

About

An example of a pet-adoption agency that uses server-side databases to record pet information.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published