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
Copy file name to clipboardexpand all lines: community/sample-apps/firebase-jwt/README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -41,9 +41,9 @@ The client-side code is in `app/` folder.
41
41
42
42
## Configure Hasura to start in JWT mode
43
43
44
-
Deploy Hasura GraphQL Engine on Heroku:
45
-
46
-
[](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
44
+
-Deploy GraphQL Engine on Hasura Cloud and setup PostgreSQL via Heroku:
45
+
46
+
[](https://cloud.hasura.io/)
47
47
48
48
After deploying, add the following environment variables to configure JWT mode:
Copy file name to clipboardexpand all lines: community/sample-apps/gatsby-contentful-auth0/hasura/migrations/1564120661494_table_playlist_track_create_remote_relationship_track.down.yaml
Copy file name to clipboardexpand all lines: community/sample-apps/gatsby-contentful-auth0/hasura/migrations/1564120661494_table_playlist_track_create_remote_relationship_track.up.yaml
Copy file name to clipboardexpand all lines: community/sample-apps/gatsby-postgres-graphql/README.md
+13-13
Original file line number
Diff line number
Diff line change
@@ -8,41 +8,41 @@ Boilerplate to get started with Gatsby, Hasura GraphQL engine as CMS and postgre
8
8
9
9
# Tutorial
10
10
11
-
1. Deploy Postgres and GraphQL Engine on Heroku:
11
+
- Deploy GraphQL Engine on Hasura Cloud and setup PostgreSQL via Heroku:
12
+
13
+
[](https://cloud.hasura.io/)
cd graphql-engine/community/sample-apps/gatsby-postgres-graphql
22
22
```
23
23
24
-
4. Create `author` table:
24
+
- Create `author` table:
25
25
26
-
Open Hasura console: visit https://my-app.herokuapp.com on a browser
26
+
Open Hasura console: visit https://gatsby-graphql.hasura.app on a browser
27
27
Navigate to `Data` section in the top nav bar and create a table as follows:
28
28
29
29

30
30
31
-
5. Insert sample data into `author` table:
31
+
- Insert sample data into `author` table:
32
32
33
33

34
34
35
35
Verify if the row is inserted successfully
36
36
37
37

38
38
39
-
6. Install npm modules:
39
+
- Install npm modules:
40
40
41
41
```bash
42
42
npm install
43
43
```
44
44
45
-
7. Configure gatsby to use `gatsby-source-graphql` plugin and a connection GraphQL url to stitch the schema.
45
+
- Configure gatsby to use `gatsby-source-graphql` plugin and a connection GraphQL url to stitch the schema.
46
46
47
47
```js
48
48
{
@@ -60,13 +60,13 @@ npm install
60
60
}
61
61
```
62
62
63
-
8. Run the app:
63
+
- Run the app:
64
64
65
65
```bash
66
-
GATSBY_HASURA_GRAPHQL_URL=https://my-app.herokuapp.com/v1/graphql npm run develop
66
+
GATSBY_HASURA_GRAPHQL_URL=https://gatsby-graphql.hasura.app/v1/graphql npm run develop
67
67
```
68
68
69
-
9. Test the app
69
+
- Test the app
70
70
Visit [http://localhost:8000](http://localhost:8000) to view the app
0 commit comments