Commit Graph

7 Commits

Author SHA1 Message Date
f136ae58b3 Refactor: Implement uber-go/fx dependency injection
- Replace global variable pattern with proper dependency injection
- Add uber-go/fx for automatic dependency resolution
- Refactor all services and handlers to use constructor injection
- Eliminate fragile initialization order dependencies
- Improve testability and modularity
- Add structured logging with zap

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2025-09-16 11:41:01 +03:30
63b524277f Dep updates 2025-07-25 11:50:20 +03:30
81adfa1ad9 Refactor JWT auth and remove DB dependency from config 2025-05-17 20:28:18 +03:30
cb5149b7bc Switch from cookie to Bearer token auth and add CORS support - Semi finished 2025-05-16 16:20:30 +03:30
2e4b97e4bc Implement admin media approval endpoints and add JWT role-based auth - NOT TESTED 2025-05-16 14:56:13 +03:30
1abc05ecd9 Add JWT authentication for admin dashboard login 2025-05-16 14:41:16 +03:30
855c778654 Trying to add jwt shit but failing cause im tired 2025-05-15 21:33:55 +03:30