Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vaibhav-systango/auth0-graphql
https://github.com/vaibhav-systango/auth0-graphql
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/vaibhav-systango/auth0-graphql
- Owner: vaibhav-systango
- License: mit
- Created: 2017-05-12T15:19:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-12T16:50:59.000Z (over 7 years ago)
- Last Synced: 2024-12-15T12:48:49.457Z (about 1 month ago)
- Language: JavaScript
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-apollo-auth0-example
![](http://i.imgur.com/CH44AZF.png)Try the [hosted version](http://apollo-auth0.netlify.com).
## Getting Started
After [downloading this example](https://github.com/graphcool-examples/react-apollo-auth0-example/archive/master.zip) please follow the steps detailed in [the online guide](https://www.graph.cool/docs/tutorials/react-apollo-auth0-pheiph4ooj).
A short summary is given below.
### 1. Create an account
To run this example, please create a [graph.cool](http://graph.cool) account and **copy your endpoint**. This shouldn't take longer than a minute. We promise!
![](http://i.imgur.com/ytXDR4B.gif)
### 2. Configure app data endpoint
Open `src/index.js` and paste your endpoint to the following line:
```js
const networkInterface = createNetworkInterface({ uri: '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](http://localhost:3000) in your browser. Have fun exploring! 🎉
```sh
npm install
npm start
```## Help & Community [![Slack Status](https://slack.graph.cool/badge.svg)](https://slack.graph.cool)
Join our [Slack community](http://slack.graph.cool/) if you run into issues or have questions. We love talking to you!
![](http://i.imgur.com/5RHR6Ku.png)