This directory contains a Node.js GraphQL API application using @neo4j/graphql
.
Try it live on CodeSandbox here
First, edit .env
, replacing the defaults with your database connection string, user, and database (optional):
NEO4J_URI=
NEO4J_USER=
NEO4J_PASSWORD=
Next, install dependencies.
npm install
Then start the API application,
npm run start
This will start a local GraphQL API server at localhost:4000
.
{
books {
title
reviews {
rating
text
author {
username
}
}
}
}