tercul-backend/internal/app
google-labs-jules[bot] 52101fbeda Refactor: Expose Analytics Service via GraphQL
This commit refactors the analytics service to align with the new DDD architecture and exposes it through the GraphQL API.

Key changes:
- A new `AnalyticsService` has been created in `internal/application/services` to encapsulate analytics-related business logic.
- The GraphQL resolver has been updated to use the new `AnalyticsService`, providing a clean and maintainable API.
- The old analytics service and its related files have been removed, reducing code duplication and confusion.
- The `bookmark`, `like`, and `work` services have been refactored to remove their dependencies on the old analytics repository.
- Unit tests have been added for the new `AnalyticsService`, and existing tests have been updated to reflect the refactoring.
2025-10-03 04:10:16 +00:00
..
auth Refactor: Introduce service layer for application logic 2025-09-09 02:28:25 +00:00
author refactor: Align codebase with DDD architecture to fix build 2025-10-03 01:17:53 +00:00
bookmark Refactor: Expose Analytics Service via GraphQL 2025-10-03 04:10:16 +00:00
category Refactor: Introduce service layer for application logic 2025-09-09 02:28:25 +00:00
collection This commit refactors the GraphQL layer to improve code quality and adhere to the project's target architecture. 2025-10-03 02:13:12 +00:00
comment Refactor: Introduce service layer for application logic 2025-09-09 02:28:25 +00:00
copyright feat: Add unit tests for models, repositories, and services 2025-09-07 11:42:30 +00:00
like Refactor: Expose Analytics Service via GraphQL 2025-10-03 04:10:16 +00:00
localization feat: Finalize DDD refactoring and fix tests 2025-10-03 01:44:47 +00:00
monetization feat: Add unit tests for models, repositories, and services 2025-09-07 11:42:30 +00:00
search feat: Finalize DDD refactoring and fix tests 2025-10-03 01:44:47 +00:00
tag Refactor: Introduce service layer for application logic 2025-09-09 02:28:25 +00:00
translation refactor: Align codebase with DDD architecture to fix build 2025-10-03 01:17:53 +00:00
user Refactor: Introduce service layer for application logic 2025-09-09 02:28:25 +00:00
work refactor: Align codebase with DDD architecture to fix build 2025-10-03 01:17:53 +00:00
.keep I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
app.go Refactor: Expose Analytics Service via GraphQL 2025-10-03 04:10:16 +00:00