diff --git a/backend/cmd/server/main.go b/backend/cmd/server/main.go index 834ad35..531016a 100644 --- a/backend/cmd/server/main.go +++ b/backend/cmd/server/main.go @@ -81,6 +81,9 @@ func main() { // Protected routes protected := e.Group("/api", jwtMiddleware) protected.GET("/auth/profile", auth.GetProfile) + protected.POST("/auth/ebook-folders", auth.AddEbookFolder) + protected.GET("/auth/ebook-folders", auth.GetEbookFolders) + protected.DELETE("/auth/ebook-folders/:folderPath", auth.DeleteEbookFolder) protected.GET("/users", auth.ListUsers) // Routes