Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

neo4j-graphacademy/app-go-4x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building Neo4j Applications with Go

Learn how to interact with Neo4j from Go using the Neo4j Go Driver

For a complete walkthrough of this repository, enroll now.

Setup

  • Clone repository

  • Update config.json with the connection details

{
  "APP_PORT": 3000,
  "NEO4J_URI": "neo4j://localhost:7687",
  "NEO4J_USERNAME": "neo4j",
  "NEO4J_PASSWORD": "letmein",
  "JWT_SECRET": "secret",
  "SALT_ROUNDS": 10
}
  • Start the project

go run ./cmd/neoflix

A Note on comments

You may spot a number of comments in this repository that look a little like this:

// tag::something[]
someCode()
// end::something[]

We use Asciidoc to author our courses. Using these tags means that we can use a macro to include portions of code directly into the course itself.

From the point of view of the course, you can go ahead and ignore them.