Skip to content

Commit

Permalink
Make sure users know that GraphQL schema can also be done via the UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Brecht De Rooms committed Jan 22, 2020
1 parent 1b3ccd1 commit a05a969
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/with-graphql-faunadb/README.md
Expand Up @@ -22,9 +22,9 @@ The database can then be set up with the delivered setup by running:
```
yarn setup
```
This script will ask for the server token and will then automatically:
This script will ask for the server token. Once you provide it with a valid token, this is what the script automatically does for you:

- **Import the GraphQL schema**, by importing a GraphQL schema in FaunaDB, FaunaDB automatically sets up collections and indexes to support your queries.
- **Import the GraphQL schema**, by importing a GraphQL schema in FaunaDB, FaunaDB automatically sets up collections and indexes to support your queries. This is now done for you with this script but can also be done from the [dashboard.fauna.com](https://dashboard.fauna.com/) UI by going to the GraphQL tab
- **Create a role suitable for the Client**, FaunaDB has a security system that allows you to define which resources can be accessed for a specific token. That's how we limit our clients powers, feel free to look at the scripts/setup.js script to see how we make roles and tokens.
- **Create a token for that role** which is printed, this is the token to be used in the frontend.

Expand Down

0 comments on commit a05a969

Please sign in to comment.