Файл в формате candidates.json (текстовый, пишется в блокноте)
{
"район":"имя",
"район":"имя",
"район":"имя",
"район":"имя",| - 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 |