This is the backend for the Family Tree project. It lets you manage a database of people and their relationships.
It is written in Kotlin using the Spring Boot framework, and Neo4j as the database.
gradle bootRun
Create a .env
file in the root directory with the following variables set:
NEO4J_USERNAME=<YOUR_NEO4J_USERNAME>
NEO4J_PASSWORD=<YOUR_NEO4J_PASSWORD>
And then run:
docker-compose up
gradle test
This will startup a Neo4j database in a docker container and run the tests.
GET /members
- Get all membersPOST /members
- Create a new memberDELETE /members/{id}
- Delete a member