covid-graph-graphql
covid-graph-graphql copied to clipboard
A Neo4j-GraphQL API for the CovidGraph project
This project serves to develop and maintain a Neo4j-GraphQL API for the Neo4j graph database used by the CovidGraph project.
- Demo
- GraphQL Playground
- GraphQL Voyager
- Getting Started
- Schema
- Patents
- BioBERT
- BioMedical
- Papers
- Clinical Trials
- Statistical & Geographic
- Tests
Demo
GraphQL Playground
The API is currently hosted by Vercel at: https://covid-graph-graphql.now.sh/. For example queries, please see the below integration tests.
Try this query 🚀
query {
Paper(first: 50) {
_hash_id
cord_uid
journal
publish_time
source
title
url
}
}
GraphQL Voyager
GraphQL Voyager is available at: https://covid-graph-graphql.now.sh/voyager

Getting Started
Install root dependencies:
npm install
and install /api dependencies:
cd api
npm install
In the root directory, you can start the API server with:
run run start
To develop the API server and print Cypher translations to your terminal:
cd api
npm run start:dev
Schema
The below links go to corresponding Neo4j-GraphQL type definitions:
Patents
BioBERT (NLP + NER)
BioMedical
Papers
Clinical Trials
Statistical & Geographic
Tests
Integration tests are run using Ava. To run the below tests, start the API server and run:
npm run test
If you're in /api, you can run:
npm run integration


