- React: Frontend framework for building user interfaces
- Apollo Client: Fully-featured, production ready caching GraphQL client
- Graphcool: Flexible backend platform combining GraphQL + AWS Lambda
Example (Live demo & GraphQL Playground)
For more information on how to get started refer to the full react-apollo-todo tutorial.
git clone https://github.com/graphcool-examples/react-apollo-todo-example.git
cd react-apollo-todo-example2. Create GraphQL API with graphcool
# Install Graphcool CLI
npm install -g graphcool
# Create a new project based on the Todo schema
graphcool init --url http://graphqlbin.com/todo.graphqlThis creates a GraphQL API for the following schema:
type Todo {
text: String!
complete: Boolean!
}Copy the Simple API endpoint to ./src/index.js as the uri argument in the createNetworkInterface call:
// replace `__SIMPLE_API_ENDPOINT__` with the endpoint from the previous step
const networkInterface = createNetworkInterface({ uri: '__SIMPLE_API_ENDPOINT__' })yarn install
yarn start # open http://localhost:3000 in your browser- Advanced GraphQL features
- Authentication & Permissions
- Implementing business logic with serverless functions
Join our Slack community if you run into issues or have questions. We love talking to you!

