Skip to content
This repository was archived by the owner on Oct 9, 2024. It is now read-only.

Commit 184569b

Browse files
committed
Removed duplicated text > Auth Version > Step 2.
1 parent c3828a2 commit 184569b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

surveyo/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Surveyo is a sample app that provides users with a survey tool that they can use
3333
### Back-end
3434

3535
- [Slash GraphQL](https://dgraph.io/slash-graphql)—a fully managed GraphQL backend service.
36-
- [Using Auth0](https://dgraph.io/docs/learn/developer/todo-app-tutorial/todo-auth0-jwt/)-how to use auth0.
36+
- [Using Auth0](https://dgraph.io/docs/learn/developer/todo-app-tutorial/todo-auth0-jwt/)how to use auth0.
3737
- [Auth0](https://auth0.com/)—Secure access for everyone.
3838

3939
## Getting started
@@ -49,7 +49,6 @@ Surveyo is a sample app that provides users with a survey tool that they can use
4949

5050
1. Copy the entire contents of the `schema_auth.graphql` file located in the root folder of the application.
5151
2. Open your `Graphql Client`, you can check some GraphQL clients [here](https://dgraph.io/docs/graphql/quick-start/#testing-your-graphql-api) or open a `terminal` and run the following command: `curl -X POST localhost:8080/admin/schema --data-binary <@SCHEMA_NOAUTH.GRAPHQL>`, which contains the code copied in step 1.
52-
+ Inside the root folder, locate the `schema.graphql` file, copy all the content and run it in your `Graphql client` you can check some GraphQL clients [here](https://dgraph.io/docs/graphql/quick-start/#testing-your-graphql-api) or via `terminal` using the command `curl -X POST localhost:8080/admin/schema --data-binary <@SCHEMA.GRAPHQL>`.
5352
3. Create an authentication service account on: [Auth0](https://auth0.com/).
5453
4. After creating your Auth0 account, follow the instructions provided [here](https://dgraph.io/docs/learn/developer/todo-app-tutorial/todo-auth0-jwt/) to set up Auth0 authentication.
5554
5. In the root folder of the application, open a terminal and run the following commands: `npm install` followed by `npm start`.

0 commit comments

Comments
 (0)