larien / family-tree

Project with Go and Neo4j.
MIT License
4 stars 2 forks source link

Family tree

Project with Go and Neo4j.

Keywords


[Go, Neo4j, Clean Architecture]

Requirements


Installation


git clone https://github.com/larien/family-tree.git

Run application


Option 1: docker-compose [unstable]

make compose

Option 2: docker

make docker

Running tests


cd backend/tests/
go test

Usage


Add People

[
  {
    "name": "Bruce",
    "parents": ["Mike", "Phoebe"]
  },
  {
    "name": "Dunny",
    "parents": ["Mike", "Phoebe"]
  }
]

Get All People

Get Person

Ascendancy

[HELPER] Clear

This is just to help while testing. It will clear every data.