Skip to content

claudiamatosa/graphql-dogs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐶 GraphQL Dogs 💩

This app demonstrates how to set up a simple Apollo server and React client, using dog pics from Twitter and Flickr and Firebase to store the ratings.

Inspired by WeRateDogs™.

Add the following variables to your environment

# Twitter
TWITTER_API_KEY

# Flickr
FLICKR_API_KEY

# Firebase
FIREBASE_API_KEY
FIREBASE_AUTH_DOMAIN
FIREBASE_DATABASE_URL
FIREBASE_PROJECT_ID

Obtaining the keys:

Running the app

This will run the server and frontend instances in parallel.

yarn
yarn start

For debugging, it may be more helpful to run the server and client in a separate terminal. For those purposes, you can use yarn start:server and yarn start:client:dev.

Testing

yarn test

Tutorials

About

Dog rating app built with Apollo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published