Skip to content
📝 Todo example app built with React & Apollo
JavaScript CSS HTML
Branch: master
Clone or download
Pull request Compare This branch is 959 commits behind graphql-boilerplates:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.babelrc
.eslintrc
.gitignore
README.md
package.json
webpack.config.js

README.md

react-apollo-todo-example

Getting Started

After downloading this example please follow these steps.

1. Create an account

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

This is how our GraphQL data model looks like:

type Todo {
  text: String!
  complete: Boolean!
}

2. Configure app data endpoint

Open src/app.js and paste your PROJECT_ID to the following line:

const networkInterface = createNetworkInterface('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

Help & Community Slack Status

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

You can’t perform that action at this time.