Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mindstand/gogm-example

Example Project for GoGM
https://github.com/mindstand/gogm-example

cypher go gogm golang graph-databases neo4j ogm ogm-neo4j

Last synced: 5 days ago
JSON representation

Example Project for GoGM

Awesome Lists containing this project

README

        

# gogm-example
Example Project for GoGM

## Description
This is loosely based on Java example by Neo4j for the Java OGM. This can be found [here](https://neo4j.com/docs/ogm-manual/current/tutorial/).

GoGM library can be found [here](https://github.com/mindstand/gogm)

## Files
- `docker-compose.yaml` - deploys single node neo4j "cluster"
- `docker-compose-casual-cluster.yaml` - deploys 3 core and 1 replica node cluster
- `go.mod`/`go.sum` - required for go modules
- `models.go` - contains models for the example
- `linking.go` - generated by gogmcli for node linking and unlinking
- `main.go` - gogm usage example