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

https://github.com/khriztianmoreno/apollo-client-with-react

Basic React application integrating Apollo Client for communication with GitHub GraphQL API V4
https://github.com/khriztianmoreno/apollo-client-with-react

apollo apollo-client graphql graphql-tag react react-apollo

Last synced: 12 months ago
JSON representation

Basic React application integrating Apollo Client for communication with GitHub GraphQL API V4

Awesome Lists containing this project

README

          

# Apollo Client with React

Basic React application integrating Apollo Client for communication with GitHub GraphQL API V4

## Getting Started

These instructions will give you a copy of the base project to run on your local machine for academic purposes to carry out this example.

### Prerequisities

You can now [create your own personal API tokens](https://github.com/settings/tokens) for use in scripts and on the command line. Be careful, these tokens are like passwords so you should guard them carefully. The advantage to using a token over putting your password into a script is that a token can be revoked, and you can generate lots of them. Head on over to your settings to manage personal API tokens.

## Install & Run

> Don't forget to replace the `token` variable with your own API token for GitHub

```bash
# Install project dependencies
$ npm install

# Run project
$ npm start
```

## Built With

* [Apollo Client](https://github.com/apollographql/apollo-client) - Client for every UI framework and GraphQL server
* [React](https://facebook.github.io/react/) - A JavaScript library for building user interfaces
* [Create React App](https://github.com/facebookincubator/create-react-app) - Bootstrap project
* [VS Code](https://code.visualstudio.com/) - Editor Open Source

## Author

* **Cristian Moreno** - *FullStack JavaScript Developer* - [WebSite](https://khriztianmoreno.com)

See also the list of [contributors](https://github.com/khriztianmoreno/apollo-client-with-react/contributors) who participated in this project.

## License

This project is licensed under MIT - see the [LICENSE](LICENSE) file for details