You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 9, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: surveyo/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,13 +40,13 @@ Surveyo is a sample app that provides users with a survey tool that they can use
40
40
41
41
### No-Auth Version
42
42
43
-
+ Inside the root folder, locate the `schema_noauth.graphql` file, copy all the content and run it in your `Graphql client` or via `terminal` using the command `curl -X POST localhost:8080/admin/schema --data-binary <@SCHEMA_NOAUTH.GRAPHQL>`.
43
+
+ Inside the root folder, locate the `schema_noauth.graphql` file, copy all the content and run it in your [Graphql client](https://dgraph.io/docs/graphql/quick-start/) or via `terminal` using the command `curl -X POST localhost:8080/admin/schema --data-binary <@SCHEMA_NOAUTH.GRAPHQL>`.
44
44
+ Inside the src folder locate the `ApolloConfig.js` file and inside the `createApolloClient` function change the value of the `GRAPHQL ENDPOINT` constant > to `http://localhost:8080/graphql`.
45
45
+ In the root folder of the application, open a terminal and run the following commands: `npm install` and then `npm start`.
46
46
47
47
### Auth Version
48
48
49
-
+ Inside the root folder, locate the `schema.graphql` file, copy all the content and run it in your `Graphql client` or via `terminal` using the command `curl -X POST localhost:8080/admin/schema --data-binary <@SCHEMA.GRAPHQL>`.
49
+
+ Inside the root folder, locate the `schema.graphql` file, copy all the content and run it in your [Graphql client](https://dgraph.io/docs/graphql/quick-start/) or via `terminal` using the command `curl -X POST localhost:8080/admin/schema --data-binary <@SCHEMA.GRAPHQL>`.
50
50
+ Create an authentication service account in: [Auth0](https://auth0.com/).
51
51
+ After create your auth0 account follow this steps: [Using Auth0](https://dgraph.io/docs/learn/developer/todo-app-tutorial/todo-auth0-jwt/)-how to use auth0.
52
52
+ In the root folder of the application, open a terminal and run the following commands: `npm install` and then `npm start`.
@@ -56,8 +56,8 @@ Surveyo is a sample app that provides users with a survey tool that they can use
0 commit comments