Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/the-road-to-graphql/react-graphql-github-apollo

🚀 A React + Apollo + GraphQL GitHub Client. Your opportunity to learn about these technologies in a real world application.
https://github.com/the-road-to-graphql/react-graphql-github-apollo

apollo apollo-client apollographql github github-api github-client github-graphql graphql react react-apollo react-router-v4

Last synced: 14 days ago
JSON representation

🚀 A React + Apollo + GraphQL GitHub Client. Your opportunity to learn about these technologies in a real world application.

Awesome Lists containing this project

README

        

# A React + Apollo + GraphQL GitHub Client

[![Build Status](https://travis-ci.org/the-road-to-graphql/react-graphql-github-apollo.svg?branch=master)](https://travis-ci.org/the-road-to-graphql/react-graphql-github-apollo) [![Slack](https://slack-the-road-to-learn-react.wieruch.com/badge.svg)](https://slack-the-road-to-learn-react.wieruch.com/) [![Greenkeeper badge](https://badges.greenkeeper.io/the-road-to-graphql/react-graphql-github-apollo.svg)](https://greenkeeper.io/)

## Features

* React 16 with create-react-app
* Responsive
* React Router 4
* Apollo with GitHub GraphQL API
* Queries and Mutations with render props
* Optimistic Updates
* Pagination
* Optimistic Fetch (e.g. Issues)
* not everywhere for the purpose of demonstrating though

## Installation

* `git clone [email protected]:the-road-to-graphql/react-graphql-github-apollo.git`
* cd react-graphql-github-apollo
* add your own [GitHub personal access token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) in a .env file in your root folder
* scopes/permissions you need to check: admin:org, repo, user, notifications
* REACT_APP_GITHUB_PERSONAL_ACCESS_TOKEN=xxxXXX
* npm install
* npm start
* visit `http://localhost:3000`

## Contributing

* Please install [Prettier integration](https://prettier.io/docs/en/editors.html) to your editor and turn on **format on save** option.
* [Prettier For Atom](https://github.com/prettier/prettier-atom)
* [Prettier for VSCode](https://github.com/prettier/prettier-vscode)
* [Prettier for EMACS](https://github.com/prettier/prettier-emacs)
* [Prettier for VIM](https://prettier.io/docs/en/vim.html)
* [others...](https://prettier.io/docs/en/editors.html)

## Want to learn more about React + GraphQL + Apollo?

* Don't miss [upcoming Tutorials and Courses](https://www.getrevue.co/profile/rwieruch)
* Check out current [React Courses](https://roadtoreact.com)