From 2fb6471a685bec1433be3335f377a1a2313e4820 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 1 Jan 2026 23:44:50 +0900 Subject: refactor(client): migrate API calls to typed RPC client MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace raw fetch() calls with apiClient.rpc typed client across all modal and page components. This provides better type safety and eliminates manual auth header handling. - Make handleResponse public for component usage - Update all component tests to mock RPC methods instead of fetch - Change POSTGRES_HOST default to kioku-db for Docker compatibility 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .env.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.env.example') diff --git a/.env.example b/.env.example index 6ba9628..65f6851 100644 --- a/.env.example +++ b/.env.example @@ -1,6 +1,6 @@ POSTGRES_USER=kioku POSTGRES_PASSWORD=kioku POSTGRES_DB=kioku -POSTGRES_HOST=localhost +POSTGRES_HOST=kioku-db POSTGRES_PORT=5432 JWT_SECRET=your-secret-key-here -- cgit v1.2.3-70-g09d2