Go to file
google-labs-jules[bot] 04878c7bec feat: Implement event-driven analytics system
This commit introduces a new event-driven analytics system to track user interactions with works and translations. The system is designed to be scalable and production-ready.

Key changes:
- An asynchronous event-driven architecture using `asynq` for handling analytics.
- A new background worker process (`cmd/worker`) to process analytics events from a Redis-backed queue.
- GraphQL resolvers now publish `AnalyticsEvent`s to the queue instead of directly calling the analytics service.
- New `popularTranslations` GraphQL query to leverage the new analytics data.
- Integration tests now use `miniredis` to mock Redis, making them self-contained.
- The `TODO.md` file has been updated to reflect the completed work.
2025-09-07 22:54:43 +00:00
.github/workflows feat: Implement event-driven analytics features 2025-09-07 22:30:23 +00:00
api feat: Implement trending works feature and add API documentation 2025-09-07 20:53:59 +00:00
cmd feat: Implement event-driven analytics features 2025-09-07 22:30:23 +00:00
deploy 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
internal feat: Implement event-driven analytics system 2025-09-07 22:54:43 +00:00
ops 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
pkg/linguistics 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
test 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
.air.toml Initial commit: Tercul Go project with comprehensive architecture 2025-08-13 07:42:32 +02:00
.gitignore wip 2025-09-01 00:43:59 +02:00
.tool-versions wip 2025-09-01 00:43:59 +02:00
create_repo_interfaces.go Fix build issues and refactor for maintainability 2025-09-05 21:37:42 +00:00
docker-compose.yml Initial commit: Tercul Go project with comprehensive architecture 2025-08-13 07:42:32 +02:00
Dockerfile Initial commit: Tercul Go project with comprehensive architecture 2025-08-13 07:42:32 +02:00
Dockerfile.dev Initial commit: Tercul Go project with comprehensive architecture 2025-08-13 07:42:32 +02:00
fix_domain_repos.go Fix build issues and refactor for maintainability 2025-09-05 21:37:42 +00:00
fix_sql_imports.go Fix build issues and refactor for maintainability 2025-09-05 21:37:42 +00:00
go.mod feat: Implement event-driven analytics system 2025-09-07 22:54:43 +00:00
go.sum feat: Implement event-driven analytics system 2025-09-07 22:54:43 +00:00
gqlgen.yml feat: Refactor GORM relations and implement mutations 2025-09-06 12:45:44 +00:00
refactor.md Initial commit: Tercul Go project with comprehensive architecture 2025-08-13 07:42:32 +02:00
report.md docs: Update markdown files to reflect current project state 2025-09-07 12:01:11 +00:00
requirements.txt Initial commit: Tercul Go project with comprehensive architecture 2025-08-13 07:42:32 +02:00
TODO.md feat: Implement event-driven analytics features 2025-09-07 22:30:23 +00:00
tools.go feat: Implement analytics features 2025-09-07 16:43:15 +00:00