Don't buy, adopt!
Pet Adoption is a small application built with React.js, next.js, React Hooks, Apollo, GraphQL, styled-components and petfinderQL.
- Clone this repo
- Type
cd ac-react-adoptionto enter the project folder - Run
npm installoryarn installand install dependencies - Rename
next.config-dev.jstonext.config.js - To use the Google Maps for the shelter details (also in pet details page), you must get an API key which you can then add to your mobile app, website, or web server. Follow this link to get a Google Map API Key
- Insert your API Key into the
next.config.js - Run
npm run devoryarn devand visit localhost:3000
- Run
npm run buildoryarn build - The compiled version will be in
/.next/dist/
You can test on https://ac-react-adoption.herokuapp.com
You may experience some delays when you try to use search function due to Petfinder's very slow API responses.