diff --git a/src/routes/routes.go b/src/routes/routes.go index 7fa9ca1..9058200 100644 --- a/src/routes/routes.go +++ b/src/routes/routes.go @@ -21,22 +21,18 @@ func SetupRoutes(r *gin.Engine) { api := r.Group("/api") api.Use(middleware.AuthMiddleware()) { - // Health check for connection testing api.GET("/health", handlers.HealthCheck) - // Sheets endpoints sheets := api.Group("/sheets") { sheets.POST("/upload", handlers.UploadSheet) sheets.GET("/list", handlers.ListSheets) sheets.GET("/get/:uuid", handlers.DownloadSheet) - // Annotations endpoints (nested under sheets) sheets.GET("/:uuid/annotations", handlers.GetAnnotations) sheets.POST("/:uuid/annotations", handlers.UpdateAnnotation) } - // Composers endpoints composers := api.Group("/composers") { composers.POST("/add", handlers.AddComposer)