Added models; started working on project routes

This commit is contained in:
2023-11-27 23:41:48 -05:00
parent 49925c6d8f
commit 19670e9abd
8 changed files with 131 additions and 2 deletions

View File

@ -9,4 +9,15 @@ import (
func RegisterRoutes(f *flamego.Flame) {
// index routes
f.Get("/", routes.GetDashboard)
// project routes
f.Group("/project", func() {
f.Get("", func(c flamego.Context) {
c.Redirect("/project/list")
})
f.Get("/list", routes.ProjectGetList)
f.Get("/create", routes.ProjectGetCreate)
})
}