feat: Implement auth in API
package main
import (
+ "docker-mariadb-clean-arch/internal/auth"
"docker-mariadb-clean-arch/internal/infrastructure"
"docker-mariadb-clean-arch/internal/misc"
"docker-mariadb-clean-arch/internal/user"
@@ -22,6 +23,10 @@ func main() {
app := fiber.New()
api := app.Group("/api/v1")
+ // Prepare endpoints for 'auth' routes.
+ authRoute := api.Group("/auth")
+ auth.NewAuthHandler(authRoute)
+
// Prepare endpoints for 'miscellaneous' routes, such as health-check, etc.
misc.NewMiscHandler(api)
