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-adoption
to enter the project folder - Run
npm install
oryarn install
and install dependencies - Rename
next.config-dev.js
tonext.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 dev
oryarn dev
and visit localhost:3000
- Run
npm run build
oryarn 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.