Skip to content

Latest commit

 

History

History
152 lines (135 loc) · 12 KB

README.md

File metadata and controls

152 lines (135 loc) · 12 KB

CI status

This project serves to develop and maintain a Neo4j-GraphQL API for the Neo4j graph database used by the CovidGraph project.

Image from covidgraph.org

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 Playground

GraphQL Voyager

GraphQL Voyager is available at: https://covid-graph-graphql.now.sh/voyager GraphQL 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

Integration tests

Patents

BioBERT (NLP + NER)

BioMedical

Papers

Clinical Trials

Statistical & Geographic