Basic REST app
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package routes
|
||||
|
||||
import (
|
||||
"quay/app/handlers"
|
||||
"quay/internal/config"
|
||||
|
||||
"github.com/gofiber/fiber/v3"
|
||||
)
|
||||
|
||||
func Register(app *fiber.App, cfg *config.Config) {
|
||||
api := app.Group("/api")
|
||||
|
||||
api.Get("/health", handlers.HealthCheck)
|
||||
}
|
||||
Reference in New Issue
Block a user