This project serves to develop and maintain a Neo4j-GraphQL API for the Neo4j graph database used by the CovidGraph project.
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 is available at: https://covid-graph-graphql.now.sh/voyager
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
The below links go to corresponding Neo4j-GraphQL type definitions:
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