Skip to content

Group project for UCR CS180 Introduction to Software Engineering

Notifications You must be signed in to change notification settings

ctruo/CS180-Project

Repository files navigation

DiscoverPet

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

Getting Started

  1. Make a PetFinder API account and take note of your API key and API secret key.
  2. 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.
  1. Run “npm i” and “npm start”
  2. Enter “localhost:3000” into browser URL

Functionalities

  • 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.

Testing

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.

About

Group project for UCR CS180 Introduction to Software Engineering

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published