A web application to view adoptable pets in and around your area.
This website uses the free public API from petfinder.com.
All illustrations are provided for free from DrawKit
- Make a PetFinder API account and take note of your API key and API secret key.
- Make an .env file and paste the following code:
- PETFINDER_API_KEY= {your API key here}
- PETFINDER_API_SECRET_KEY= {your API secret here}
- SESSION_SECRET= {any string here}
- MONGO_URL=
For security reasons the MONGO_URL will not be shared. The website will still function but users will not be able to create an account, log into an account, and add to their favorites list.
- Run “npm i” and “npm start”
- Enter “localhost:3000” into browser URL
- Pets are able to filtered by the following:
- In depth pet information is available to view when clicked on
- Shelters are available based on location and/or organization name
- Users are able to create accounts to store their favorite pets. This feature is only available to users logged into an account.
This project was tested using Jest. Testing was done both on the backend server and the frontend Javascript scripts. Input validation, form submission, API data retrieval, login/signup functionalities were all verified to be working correctly through automated unit tests that we implemented.