Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/vaibhav-systango/auth0-graphql


https://github.com/vaibhav-systango/auth0-graphql

Last synced: about 1 month ago
JSON representation

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)