Last active
July 19, 2019 23:52
-
-
Save ivansglazunov/923a611d958e28c829a947b9b98c89f5 to your computer and use it in GitHub Desktop.
hasura-webhooks-passport
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- set heroku config vars for hasura | |
- `HASURA_GRAPHQL_ADMIN_SECRET` `*` | |
- `HASURA_GRAPHQL_AUTH_HOOK` `http://*.*.*.*:****/webhook` | |
- get from heroku config var `DATABASE_URL` some thing as `postgres://hxpofunslqpcbb:*@ec2-174-129-227-128.compute-1.amazonaws.com:5432/dackb7ggb8f8j1` | |
- clone this https://github.com/hasura/graphql-engine/tree/master/community/boilerplates/auth-webhooks/passport-js | |
- follow `Deploy locally` but add to `DATABASE_URL` postfix `?ssl=true` | |
Done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment