Skip to content

Implement full MVP: backend, auth, AI sidebar, persistence, and tests#9

Open
kkondo3jp wants to merge 2 commits into
ed-donner:mainfrom
kkondo3jp:main
Open

Implement full MVP: backend, auth, AI sidebar, persistence, and tests#9
kkondo3jp wants to merge 2 commits into
ed-donner:mainfrom
kkondo3jp:main

Conversation

@kkondo3jp

Copy link
Copy Markdown

Summary

  • FastAPI backend with SQLite persistence, board CRUD (GET/PUT /api/board/{username}), AI connectivity check, and structured AI board-action endpoint backed by OpenRouter
  • Docker + startup scripts for one-command local development on Windows, macOS, and Linux
  • AuthGate sign-in screen (dummy credentials user/password) gating the Kanban board
  • AI assistant sidebar wired to the backend - sends board context to the AI and applies structured board updates in real time
  • Next.js static export served by FastAPI; board state is fully persistent via the backend instead of local React state
  • Full test coverage: 7 backend pytest tests, 12 frontend Vitest unit tests, 3 Playwright E2E tests - all passing
  • CLAUDE.md with commands, architecture overview, and milestone reference

Test plan

  • pytest backend/tests/ - 7/7 passed (persistence, AI board actions, AI connectivity, frontend serving)
  • npx vitest run - 12/12 passed (kanban logic, AuthGate flows, KanbanBoard with mocked API and AI)
  • Playwright E2E - 3/3 passed (loads board, adds card, moves card between columns)

Generated with Claude Code

KazzKondo and others added 2 commits July 10, 2026 13:52
Adds the full implementation across parts 2–10 of the plan:
- FastAPI backend with SQLite persistence, board CRUD, and AI board-action endpoint
- Docker and startup/stop scripts for local development
- Next.js static export wired to the backend, with AuthGate and AI assistant sidebar
- Backend and frontend tests covering persistence, auth, AI connectivity, and board actions
- Fixed AI board action tests to patch OPENROUTER_API_KEY via os.environ before mocking httpx
- Added CLAUDE.md with commands, architecture overview, and milestone status

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Tests were failing because AuthGate blocks the board until sign-in.
Added a login() helper that fills the form before each test.
Configured playwright.config.ts to use channel:chrome (system Chrome)
to work around the Playwright managed-browser install conflict.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant