No description
Find a file
Vadym Samoilenko 8da149b84e Migrate storage from JSON files to PostgreSQL (asyncpg)
- Add asyncpg connection pool (db/pool.py) with JSONB codec registration
- Add schema.sql with users, clients, dropdown_categories, export_templates, sheets tables
- Add migrate_json.py one-time migration script for existing JSON data
- Rewrite user_store, sheets/manager, api/clients, api/dropdowns, api/export as async DB-backed
- Update all callers (auth, sheets, admin, ai_command, export) to await async functions
- Add postgres:16-alpine service to docker-compose with named volume and health check
- App container depends_on postgres; DATABASE_URL injected via env
- Schema applied automatically on startup; global categories seeded if DB is empty

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 19:51:37 +00:00
backend Migrate storage from JSON files to PostgreSQL (asyncpg) 2026-03-23 19:51:37 +00:00
frontend Fix TypeScript build errors 2026-03-23 19:34:11 +00:00
.env.example feat: add full AI provider config to .env.example and docker-compose 2026-03-23 14:30:16 +00:00
.gitignore Add deploy script, .env.example, and Apache reverse proxy config 2026-03-23 14:05:33 +00:00
deploy.sh fix: run git pull as SUDO_USER to use correct SSH keys 2026-03-23 14:25:44 +00:00
docker-compose.yml Migrate storage from JSON files to PostgreSQL (asyncpg) 2026-03-23 19:51:37 +00:00
Dockerfile Initial commit — AC Tool unified application 2026-03-23 13:24:46 +00:00
run_dev.sh Initial commit — AC Tool unified application 2026-03-23 13:24:46 +00:00