Implements create feed handler

And necessary user helper functions
This commit is contained in:
Dennis Schoepf 2024-05-31 21:17:34 +02:00
parent a2e5462553
commit 75d1324952
3 changed files with 89 additions and 1 deletions

View file

@ -28,6 +28,7 @@ func Setup(app *fiber.App, db *sql.DB) error {
v1 := api.Group("/v1")
v1.Post("/users", apiHandler.createUser)
v1.Post("/users/:userID/feeds", apiHandler.createFeed)
return nil
}