added user signup feature

This commit is contained in:
2025-09-26 23:57:36 +02:00
parent 2f0a9b5127
commit 57355fe9ac
15 changed files with 242 additions and 14 deletions

View File

@@ -25,5 +25,8 @@ func setup(config *config.Config) *gin.Engine {
r.POST("/book", func(c *gin.Context) {
api.PostBookHandler(c, db)
})
r.POST("/auth/signup", func(c *gin.Context) {
api.PostUserHandler(c, db)
})
return r
}