Implements create feed handler
And necessary user helper functions
This commit is contained in:
parent
a2e5462553
commit
75d1324952
3 changed files with 89 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue