diff --git a/backend/main.go b/backend/main.go index 660d818..ba057d0 100644 --- a/backend/main.go +++ b/backend/main.go @@ -46,6 +46,7 @@ func main() { router.GET("/health", hc.HealthCheckHandler()) router.GET("/person", handlers.ViewPerson(memgraphDriver)) router.POST("/createPerson", handlers.CreatePerson(memgraphDriver)) + router.POST("/createRelationship", handlers.CreateRelationship(memgraphDriver)) server := utilities.SetupHttpsServer(router, *cert, *key, *httpsPort, *httpPort, requestTimeout)