aboutsummaryrefslogtreecommitdiff
path: root/server/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/main.go')
-rw-r--r--server/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/main.go b/server/main.go
index 1740ac6..49d8c45 100644
--- a/server/main.go
+++ b/server/main.go
@@ -41,6 +41,7 @@ func main() {
// people API routes
people.GET("/", getAllPeople)
+ people.POST("/", registerPerson)
myRouter.Run(":8080")
}