Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GQL Server to Query Donor Summary data #298

Open
joneubank opened this issue Feb 28, 2024 · 0 comments
Open

Add GQL Server to Query Donor Summary data #298

joneubank opened this issue Feb 28, 2024 · 0 comments
Assignees
Labels
donor-data-api new-feature Request is a new feature

Comments

@joneubank
Copy link
Member

Adding the ability to query the data indexed by the Donor Aggregator. This functionality is currently available in the ARGO platform API, but will be moved into this service.

As the first step in this effort, we will set up a GQL server in this service. Similar work was done in the ARGO Clinical service - the intention is to use the same setup to provide GQL in this service.

Detailed Description

Integrate apollo graphql server into the Donor aggregator. To be consistent with ARGO Clinical, use

"@apollo/server": "4.0.0",

The outcome of this ticket would be to have a graphql playground link resolvable and the graphql server running on startup of the donor aggregator.

Possible Implementation

Reference the implementation in ARGO Clinical for consistency.

The standalone apollo server is started here: https://github.com/icgc-argo/argo-clinical/blob/develop/src/server.ts#L187
The gql schemas and resolvers are in the directory https://github.com/icgc-argo/argo-clinical/tree/develop/src/schemas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
donor-data-api new-feature Request is a new feature
Projects
None yet
Development

No branches or pull requests

3 participants