This is a tinder styled app that makes pet adoption an easier process. Using real pets from the PETFINDER API, you can swipe left or right on pets you might potentially want to adopt. However, since pets cannot swipe back, a shelter will check to see if you are the right fit.
https://whiskrapp.herokuapp.com
- Shelby Rackley
- Shannon Kendall
- Shiratie Prodhan
- Keri Miller
At the root folder touch secrets.js
// petfinder API_SECRET
const API_SECRET = 'YOUR_SECRET_KEY';
// google geoLocator API_SECRET
const GOOGLE_GEO_API_KEY = 'YOUR_SECRET_KEY';
// google API_SECRET for OAuth
process.env.GOOGLE_CLIENT_ID = ''YOUR_SECRET_KEY''
process.env.GOOGLE_CLIENT_SECRET = 'YOUR_SECRET_KEY'
process.env.GOOGLE_CALLBACK = '/auth/google/callback'
// facebook API_SECRET
process.env.FACEBOOK_APP_ID = 'YOUR_SECRET_KEY'
process.env.FACEBOOK_APP_SECRET = 'YOUR_SECRET_KEY'
process.env.FACEBOOK_CALLBACK = '/auth/facebook/callback'
module.exports = {
API_SECRET: API_SECRET,
GOOGLE_GEO_API_KEY: GOOGLE_GEO_API_KEY
};
npm install yarn
Our project has two package.json files, one on the client side and one on the server side.
we use concurrently to run these at the same time.
**If you don't already have concurrently globally installed on your machine you can run yarn install
first to install the server side npm modules. Then you can yarn sync
normally.
Use yarn sync
to install the packages simultaneously
In your terminal, create the database with the command createdb whiskr
Next, seed the database with yarn seed
After you install the packages, run yarn dev
to start up the app and navigate to localhost:3000
To use the app, either login or sign up. You can also use one of our seeded users. Our favorite is:
Email: catlady@gmail.com
Password: catscatscats
From there, you will be redirected to the PetTypes page. Choose the type of pet you'd like to adopt. The categories are: cats, dogs, reptiles, barnyard, horse, small and furry, rabbit, birds.
Swipe left to dismiss a pet and swipe right to add it to your matches.
On mobile view, you can click the pet card to expand the profile.