18 Commits (9dd7d74c704f377461270f73717ac8435e78f436)

Author SHA1 Message Date
oabrivard 955d8dadfe Corrected lint errors 1 month ago
oabrivard 05d950218c Improved test comments 1 month ago
oabrivard 2fde7f1ff7 Improved code comments 1 month ago
oabrivard 6cadc15448 Improved backend test coverage 1 month ago
oabrivard 7106e22d19 Implemented task '6.1 Backend Testing Strategy' 1 month ago
oabrivard 2f283469c2 Finished Phase 5: Infrastructure (Weeks 8-9) 1 month ago
oabrivard eeb784bb92 Finished task '3.1 API Gateway Service (Port 8086)' 1 month ago
oabrivard 4797cf8c42 Finished step '2.2 User Service (Port 8082)' 1 month ago
oabrivard 10b60cc567 Updated Go dependencies 1 month ago
oabrivard c03ae3f0f0 Refactor backend code to remove duplicate functions and factorize service startup 1 month ago
oabrivard 995c452408 Added unit tests for steps up to 1.3.2 1 month ago
oabrivard b7d3ed051c Updated golang.org/x/sys version 1 month ago
oabrivard 203f76166e Finished step '1.1.2 Initialize Each Service Module' of phase docs/4_work_plan/1.1-development-environment-setup.md 1 month ago
oabrivard 469127eebe Updated project's directory structure 1 month ago
oabrivard 9e5a219193 Defined project high level implementation plan 1 month ago
oabrivard c95eb0280d feat: implement complete microservices architecture with domain logic
- Implemented 6 microservices following Domain Driven Design principles
  - Game Session Service: session management, scoring, state transitions
  - Question Bank Service: CRUD operations, fuzzy answer matching
  - User Service: player profiles, statistics, role management
  - Leaderboard Service: rankings, competitions, tie handling
  - Admin Service: role-based access control, audit logging
  - Gateway Service: authentication, rate limiting, proxying

- Created shared packages for common types, errors, events, valueobjects
- Added comprehensive business rules (30-min sessions, 3 attempts per question)
- Implemented clean architecture with aggregates, value objects, domain services
- Built sophisticated scoring system (2 points no hint, 1 with hint)
- Added fuzzy answer matching with 85% similarity threshold using Levenshtein distance
- Created event-driven patterns for inter-service communication
- Implemented circuit breaker patterns and health checking in gateway
- Added comprehensive validation and error handling across all services

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
6 months ago
oabrivard 201d7d7afa restart from scracth by first tidying the documentation 7 months ago
oabrivard 638e3e2a40 feat: implement complete backend foundation and infrastructure
- Add comprehensive shared authentication system with JWT middleware
- Implement database client with PostgreSQL/SQLite support
- Create Ent schema definitions for game entities (questions, sessions, attempts)
- Add complete utility package with configuration management
- Set up user service with Fiber web framework and health endpoints
- Configure Docker infrastructure with PostgreSQL and multi-service setup
- Add database initialization scripts with sample data
- Implement comprehensive test coverage across all packages
- Set up proper Go module structure with dependency management

This establishes the complete backend foundation for Know Foolery game platform
with authentication, database persistence, and service architecture ready
for Phase 1A implementation.
7 months ago