// Copyright 2023 Harran Ali . All rights reserved. // Copyright (c) 2024 Zeni Kim // Use of this source code is governed by MIT-style // license that can be found in the LICENSE file. package main import ( "git.smarteching.com/goffee/core" "git.smarteching.com/goffee/cup/handlers" ) // Register the app routes func registerRoutes() { router := core.ResolveRouter() //############################# //# App Routes ##### //############################# // Define your routes here... router.Get("/", controllers.WelcomeHome) // Uncomment the lines below to enable authentication // router.Post("/signup", controllers.Signup) // router.Post("/signin", controllers.Signin) // router.Post("/signout", controllers.Signout) // router.Post("/reset-password", controllers.ResetPasswordRequest) // router.Post("/reset-password/code/:code", controllers.SetNewPassword) // router.Get("/dashboard", controllers.WelcomeToDashboard, middlewares.AuthCheck) }