Covid19-GraphQL / covid-graph-graphql

A Neo4j-GraphQL API for the CovidGraph project

Home Page:https://covid-graph-graphql.now.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A Neo4j-GraphQL API for the CovidGraph project

https://covid-graph-graphql.now.sh/

License:Apache License 2.0


Languages

Language:JavaScript 99.9%Language:Shell 0.1%Language:Dockerfile 0.0%