Skip to content

Neo4j example movie search application with GraphQL backend

Notifications You must be signed in to change notification settings

fivian/movies-graphql-javascript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neo4j Movies Example Application - GraphQL JavaScript Edition

Quickstart

  • Start Neo4j (Download & Install) locally and open the Neo4j Browser.
  • Install the Movies dataset with :play movies, click the statement, and hit the triangular "Run" button.

Optionally, set environment variables to override defaults:

PORT = 3000,
NEO4J_URL = "bolt://localhost:7687",
NEO4J_USER = "neo4j",
NEO4J_PASSWORD = "letmein"

Then

npm install
npm run start

Then navigate to http://localhost:3000 in your browser.

How It Works

The frontend for this example application uses jQuery, D3, and ApolloClient to query a GraphQL API.

The backend is an Express.js GraphQL service using graphql-tools and the JavaScript Neo4j driver.

JavaScript assets are transpiled and bundled using Webpack.

Query with GraphiQL

The GraphiQL tool for querying the GraphQL service is available at http://localhost:3000/graphiql

About

Neo4j example movie search application with GraphQL backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 72.7%
  • HTML 27.3%