Commit Graph

3 Commits

Author SHA1 Message Date
Johngreen
eb3dd0a4ab fix(ci): reset stale DB volume, skip create_all in prod, handle alembic stamp fallback
All checks were successful
Deploy to Production / deploy (push) Successful in 47s
2026-02-10 12:46:49 +09:00
Johngreen
782dc225bf feat(ci): auto-run alembic migrations and seed on container start
All checks were successful
Deploy to Production / deploy (push) Successful in 44s
- Add entrypoint.sh (migrate → seed → uvicorn)
- Add python-dotenv to requirements.txt
- Backend container uses entrypoint instead of direct uvicorn

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
2026-02-10 12:36:01 +09:00
Johngreen
ab2a3e35b2 feat: Phase 0-2 complete — auth, machines, equipment parts with full CRUD
Multi-tenant factory inspection system (SpiFox, Enkid, Alpet):
- FastAPI backend with JWT auth, PostgreSQL (asyncpg)
- Next.js 16 frontend with App Router, SWR data fetching
- Machines CRUD with equipment parts management
- Part lifecycle tracking (hours/count/date) with counters
- Partial unique index for soft-delete support
- 24 pytest tests passing, E2E verified

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
2026-02-10 12:05:22 +09:00