package router

import (
	"github.com/gofiber/fiber/v2"
	"github.com/pahmiudahgede/senggoldong/middleware"
	"github.com/pahmiudahgede/senggoldong/presentation"
)

func SetupRoutes(app *fiber.App) {
	api := app.Group("/apirijikid")
	api.Use(middleware.APIKeyMiddleware)
	presentation.AuthRouter(api)
	presentation.UserProfileRouter(api)
	presentation.UserPinRouter(api)
}
