Skip to content

A REST API created with in dart with the Aqueduct framework to provide access to data relating to the Covid-19 pandemic in Uganda

Notifications You must be signed in to change notification settings

TJMusiitwa/Covid19-Uganda-REST-API

Repository files navigation

Covid-19 Uganda API

A REST/GraphQ API created with Dart with the Aqueduct framework and Hasura, respectively, to provide access to data relating to the Covid-19 pandemic in Uganda Deployed on Heroku with Hasura as the GraphQL as a service framework.

Still very much a work in progress with some small improvements down the road

REST API URL: https://ug-covid19-rest-api.herokuapp.com/

GRAPHQL API URL: https://covid19-uganda-graph-api.herokuapp.com/v1/graphql

You may explore the GraphQl Endpoint by using any graphql playground of your choice. I suggest the use of GraphQLBin and then just paste in the above GraphQl Endpoint

GitHub deployments GitHub repo size GitHub code size in bytes GitHub top language

Documentation

The REST API is self-documenting and you can access the OpenAPI documentation from the /client endpoint.

Running the Application Locally

Run aqueduct serve from this directory to run the application. For running within an IDE, run bin/main.dart. By default, a configuration file named config.yaml will be used.

To generate a SwaggerUI client, run aqueduct document client.

Running Application Tests

To run all tests for this application, run the following in this directory:

pub run test

The default configuration file used when testing is config.src.yaml. This file should be checked into version control. It also the template for configuration files used in deployment.

Deploying an Application

See the documentation for Deployment.

About

A REST API created with in dart with the Aqueduct framework to provide access to data relating to the Covid-19 pandemic in Uganda

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published