For data management systems including CKAN.
datastore_search endpoint (similar to CKAN Datastore extention)The current version is v1
APP_VERSION = 'v1'
GraphQL Endpoint exposes the hasura GraphQL API.
For the GraphQL documentation please refer to Hasura Documentation
The result is a JSON document containing:

With a test table having the following schema:

We can make different queries:



cp .env.example .envbash run-mock-environment.sh or if connecting to an existing one edit the URLs in the .env fileyarnyarn start to launch server / yarn test to run testsPlease don't forget to add new variables to .env.example - they also will be used in ci tests.
Tests and formating check and run automatically on every push and pull request to master. They run on Docker hub. See documentation here https://docs.docker.com/docker-hub/builds/automated-testing/
To simulate tests as running on dockerhub you can run bash run-tests-in-docker.sh file.
If a pull request has failed checks it shows an error message in GitHub. The link to DockerHub does not work though. You will need to navigate there:
After every push to master or a pull request to this branch and successful tests there is a new docker image built here https://hub.docker.com/repository/docker/datopian/data-api/builds
New images can be build with the provided Dockerfile or fetched from dockerhub.
Can be deployed as a usual docker container. An environement for this microservice should contain:
This project is licensed under the MIT License - see the LICENSE file for details
Content type
Image
Digest
sha256:6105c3175…
Size
370.7 MB
Last updated
over 2 years ago
docker pull datopian/data-api