Skip to content

Implementing a GraphQL API for the DIVI Intensivregister's data by using the Hasura GraphQL engine

Notifications You must be signed in to change notification settings

cmswd/graphql-divi-intensivregister

Repository files navigation

graphql-divi-intensivregister

Implementing a GraphQL API for the DIVI Intensivregister's data by using the Hasura GraphQL engine.

The data used come from DIVI-Intensivregister (https://www.intensivregister.de/).

Installation

Python requirements

virtualenv .venv
source .venv/bin/activate
pip3 install -r requirements.txt

Node.js requirements

npm install

Hasura CLI

wget -O hasura https://github.com/hasura/graphql-engine/releases/download/v2.0.0-alpha.6/cli-hasura-darwin-amd64
chmod +x hasura

Usage

docker-compose up -d
python3 import.py

The web interface can be reached under http://localhost:8080.

After the initial import run the following commands to apply the metadata. Also run to apply changes to the metadata.

./hasura metadata apply

After changes to the metadata via the console or API, they can be exported:

./hasura metadata export

User interfaces

Projects

Data sources

References

About

Implementing a GraphQL API for the DIVI Intensivregister's data by using the Hasura GraphQL engine

Topics

Resources

Stars

Watchers

Forks