feat: implement auth, projects, and frontend foundation

This commit is contained in:
2026-05-17 20:21:55 +00:00
parent e7819bfc82
commit 71d9fe6406
88 changed files with 10936 additions and 47 deletions
@@ -0,0 +1,28 @@
# Proposal: Database Models
## What
Implement SQLAlchemy 2.0 async models and Alembic migrations for all core entities in the Headquarter platform.
## Why
All other features (auth, git repos, projects, SSH keys, etc.) depend on a solid database foundation. We need models that:
- Use SQLAlchemy 2.0 async style for performance
- Support all entity relationships defined in the specs
- Have proper migrations for schema versioning
- Include seed data for development
## Scope
- User, Project, GitRepository, SSHKey, UserConfig models
- Alembic setup with asyncpg support
- Initial migration creating all tables
- Database seeding script
## Success Criteria
- All models defined with correct relationships
- Initial migration runs successfully
- `make migrate` works
- Seed script creates test data
- Quality gates pass (pytest, mypy, ruff)