From dbcfe8a98e46e15fe951e5e98c68fd6ac8bde1b3 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 3 Dec 2025 06:05:33 +0900 Subject: refactor(auth): introduce repository pattern for database access MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add repository types and implementations to abstract database operations, improving testability and separation of concerns. The auth routes now use dependency injection with UserRepository and RefreshTokenRepository interfaces, making tests simpler by mocking interfaces instead of Drizzle query builders. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- docs/dev/roadmap.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/dev/roadmap.md b/docs/dev/roadmap.md index 740e9b0..63efeef 100644 --- a/docs/dev/roadmap.md +++ b/docs/dev/roadmap.md @@ -34,7 +34,7 @@ - [x] Add tests ### Refactoring -- [ ] Define repository types and avoid direct use of DB. +- [x] Define repository types and avoid direct use of DB. ## Phase 2: Core Features -- cgit v1.2.3-70-g09d2