refactor: add library and device route stubs to router package

Add stub implementations for:
- library.go: Library management routes (admin + user visibility)
- device.go: Device registration and management routes
- router.go: Updated to import jwt package

Router package structure is complete with all route groups defined.
Next step: Incrementally migrate routes from main.go by calling
router.RegisterRoutes() and removing duplicate definitions.

All verification checks pass (26/26).
This commit is contained in:
2026-02-06 11:21:38 -05:00
parent 9bc8cd7bf3
commit 2dd0238ef2
3 changed files with 112 additions and 7 deletions
-7
View File
@@ -88,13 +88,6 @@ func RegisterRoutes(cfg *Config) {
}
// Stub functions - will be implemented incrementally
func registerLibraryRoutes(cfg *Config) {
// TODO: Implement in library.go
}
func registerDeviceRoutes(cfg *Config) {
// TODO: Implement in device.go
}
func registerSyncRoutes(cfg *Config) {
// TODO: Implement in sync.go