feat: implement geometry and project management modules with associated controllers, services, and routes

This commit is contained in:
2026-05-24 19:34:46 +07:00
parent ff56ba3d32
commit 2fa420492c
11 changed files with 382 additions and 3 deletions

View File

@@ -66,6 +66,24 @@ func ProjectRoutes(
controller.ChangeOwner,
)
route.Post(
"/:id/lock",
middlewares.JwtAccess(userRepo),
controller.LockProject,
)
route.Post(
"/:id/unlock",
middlewares.JwtAccess(userRepo),
controller.UnlockProject,
)
route.Post(
"/:id/heartbeat",
middlewares.JwtAccess(userRepo),
controller.HeartbeatProject,
)
route.Get(
"/:id",
middlewares.JwtAccess(userRepo),