Skip to content

Simple Neo4j GraphQL Server with basic auth in Node.js to get started and hopefully not spend most your time on configuration

Notifications You must be signed in to change notification settings

CleanGlyph/Neo4jGraphQL-JS-Auth-Boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boilerplate Neo4jGraphQL-JS-Auth

Simple Neo4j GraphQL Server with basic auth in Node.js to get started and hopefully not spend most your time on configuration

Installing

1. Get node packages downloaded

npm install
npm install nodemon --save-dev

2. Set up your .env

Use the ._env as an example inside the folder, where you just need to add the Neo4j connection info.

2.1 Finding your Neo4j Connection info

Go to the settings file following neo4j docs, you can find your bolt connection settings to ctrl + f.

  • dbms.connector.bolt.enabled => should be true
  • dbms.connector.bolt.listen_address => copy this address
  • dbms.connector.bolt.advertised_address => OR copy this address

Once found & enabled then copy paste the address into your .env

Running

Dev mode with hot reloads

npm run dev

'Production'

npm run start

About

Simple Neo4j GraphQL Server with basic auth in Node.js to get started and hopefully not spend most your time on configuration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published