Full-Stack · AI
Mini CRM
A sales CRM with Claude-powered shortcuts
The problem
Built as a take-home assignment: a CRM for sales reps — customers, notes, a timeline — with a few Claude-powered shortcuts (follow-up emails, note summaries, next-best-action) layered on top, without the AI features being load-bearing for the app to work at all.
What I built
Built a full-stack CRM for sales reps — customer records, notes, and a timeline — with FastAPI and React.
Layered in Claude-powered shortcuts (follow-ups, note summaries, next-best-action) without making AI a hard dependency — the app degrades cleanly with no API key.
Wrote a fully deterministic test suite by mocking every LLM call, so tests run free and never hit a real API.
Impact
503
clean degradation with no API key, not a crash
3
AI shortcuts — follow-ups, summaries, next-best-action
0
real API calls made during tests
Architecture
A React single-page app (Vite + TypeScript) talks to the backend over REST with axios.
A FastAPI backend with SQLAlchemy models has one router each for customers, notes and AI.
Data lives in a SQLite file mounted as a Docker volume, so it survives restarts. Docker Compose runs the whole stack.
Claude powers four shortcuts: follow-up emails, note summaries, next-best-action and meeting-notes cleanup.
Decisions and trade-offs
AI is never load-bearing
Without an API key, the AI buttons return a 503 saying it is not configured. Customers, notes and the timeline work with zero configuration.
Every LLM call is mocked in tests
The backend tests never reach the real Anthropic API, so they are deterministic, free and safe to run anywhere.
A dummy login, said out loud
Login accepts any email and password because this was a take-home assignment. The README lists it under known limitations rather than hiding it.
Results
Built as a take-home assignment, with Claude Code used for a good part of the implementation.
Backend suite runs with pytest and makes zero real API calls.