imc-vibe/backend
Christoph Haas 2834657125 Switch from net/http to gin-gonic web framework
- Added gin-gonic v1.10.0 dependency
- Refactored router.go: clean route groups with middleware chains
- Refactored all handlers to use gin.Context instead of http.ResponseWriter/*http.Request
- Simplified response helpers (JSON, Error, Success, Created, NoContent)
- Clean auth middleware using Gin's c.Set() for context
- Cleaner route definitions with path parameters (e.g., /domains/:name/users/:id)
- Admin routes moved to /api/admin group with RequireAdmin middleware
2026-03-22 23:28:28 +01:00
..
cmd/server Switch from net/http to gin-gonic web framework 2026-03-22 23:28:28 +01:00
internal Switch from net/http to gin-gonic web framework 2026-03-22 23:28:28 +01:00
.env Add CLI flags for setup and server configuration 2026-03-22 01:17:43 +01:00
.env.example first 2026-03-21 22:41:23 +01:00
go.mod Switch from net/http to gin-gonic web framework 2026-03-22 23:28:28 +01:00
go.sum Switch from net/http to gin-gonic web framework 2026-03-22 23:28:28 +01:00