mariamihai / neo4j-app-go

[COMPLETED] https://graphacademy.neo4j.com/courses/app-go

Home Page:https://graphacademy.neo4j.com/courses/app-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Errors

Load movies

From fixtures / load-movies.cypher

About

[COMPLETED] https://graphacademy.neo4j.com/courses/app-go

https://graphacademy.neo4j.com/courses/app-go


Languages

Language:Go 76.4%Language:Cypher 22.4%Language:HTML 1.2%