Commit Graph
6 Commits
Author SHA1 Message Date
mahdiumandQwen-Coder 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
mahdium cc2e2fe0a0 Set mysql connctions limit 2025-07-25 13:02:46 +03:30
mahdium e0aa177f07 Add mysql support 2025-07-25 11:50:08 +03:30
mahdium 0294418950 Create data dir and move DB file into it for better organization 2025-05-18 12:46:44 +03:30
mahdium 7b601e75ba Refactor app structure: move models to domain, centralize config and database init - TODO: add jwt 2025-05-17 20:07:29 +03:30
mahdium ab9254fcad Starting to improve the project structure 2025-05-17 18:43:54 +03:30