Skip to content

Alphy11/gloomrelay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-apollo-instagram-example

Getting Started

After downloading this example please follow these steps or watch the walkthrough video for this example!

1. Create an account

To run this example, please create a Graphcool account and copy your endpoint. This shouldn't take longer than a minute. We promise!

This is how our GraphQL data model looks like:

type Post {
  description: String!
  imageUrl: String!
}

2. Configure your GraphQL Endpoint

export REACT_APP_GRAPHQL_ENDPOINT="https://api.graph.cool/simple/v1/__PROJECT_ID__"

3. Run the example

You're done configuring the example application. Please run the following command and open localhost:3000 in your browser. Have fun exploring! 🎉

npm install
npm start

FAQ

How to run this example on Windows?

Replace this line in package.json

"start": "REACT_APP_GRAPHQL_ENDPOINT=${REACT_APP_GRAPHQL_ENDPOINT:=https://api.graph.cool/simple/v1/__PROJECT_ID__} react-scripts start",

with

"start": "set REACT_APP_GRAPHQL_ENDPOINT=https://api.graph.cool/simple/v1/__PROJECT_ID__&&react-scripts start",

Help & Community Slack Status

Join our Slack community if you run into issues or have questions. We love talking to you!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published