claudiamatosa / graphql-dogs

Dog rating app built with Apollo

Home Page:http://graphql-dogs.claudiamatosa.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐶 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

http://graphql-dogs.claudiamatosa.com


Languages

Language:JavaScript 91.2%Language:CSS 6.2%Language:HTML 2.6%