cup/routes.go
2024-09-15 14:05:45 -05:00

29 lines
1,017 B
Go

// Copyright 2023 Harran Ali <harran.m@gmail.com>. All rights reserved.
// Copyright (c) 2024 Zeni Kim <zenik@smarteching.com>
// 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)
}