mirror of
https://github.com/vcscsvcscs/GenerationsHeritage.git
synced 2025-08-12 22:09:07 +02:00
add createRelationship as a handler
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user