Django to Reactwith Claude Code
I rebuilt four live project boards of a procurement platform, and the REST API behind them, in React and TypeScript with Claude Code. Dev-complete in about a week, then checked against the old app with 450 parity checks.
Case study by Balaji Sankar · Updated October 2026
To dev-complete on four board views and their API
Parity checks run against the legacy app
Board views migrated, each on real endpoints
One parity check surfaced a live production bug in the legacy app
Why did it need to exist?
- Four live boards built on server templates and jQuery
- No JSON API behind most of what the boards showed
- Business rules hidden inside front-end scripts
- No shared code to prove the new boards matched
- Four boards rebuilt inside the React and TypeScript hub
- A dedicated REST API built on use-case classes
- A behaviour inventory written from the legacy code
- A 450-check parity audit with evidence on both sides
What made it hard?
The project tracker is where procurement teams track every project from intake to signed savings. Its four main boards - a grid, a kanban, a status board and a Gantt calendar - were server-rendered Django templates driven by a lot of jQuery. Much of the data arrived as HTML fragments, and plenty of business rules lived only in that front-end script.
The company was moving everything into one React + TypeScript hub. The project tracker was the hardest piece: no shared code with the new app, no JSON API for most of what the boards showed, and customers relying on it every day for approvals and savings reporting.
I wanted to see whether the right AI tooling, with the right guardrails, could do the heavy lifting without producing code nobody could review.
How did I approach it?
Read the legacy code first
For each board I inventoried the Django template, its inline scripts and its JavaScript files: what it fetched, what it rendered and what every click did. Claude Code helped me read and cross-reference that legacy code quickly and draft the new layers against it.
One fixed structure per board
Every board uses the same set of files: a thin entry file, a view, a context that wires it, a service hook for state, and one query hook per endpoint. That kept AI-drafted code predictable and easy to review board by board.
AI drafts, I review
With the inventory in hand, Claude Code drafted the React module and the new Django REST API behind it, layer by layer, and I reviewed each one.
Checkpoints, not a big bang
Type-check and smoke-test after every layer, so mistakes surfaced while they were small. The old Django boards kept serving customers the whole time while the new ones ran on staging.
Measure parity
Because the two apps shared no code, nothing could be diffed. So every legacy behaviour was checked against the new screens one by one - 450 checks, each marked pass, partial or fail with evidence from both sides.
Which calls shaped it?
A new API, not reused templates
Most board endpoints returned HTML fragments, which a React frontend cannot use, and rules lived in jQuery handlers.
I built a dedicated Django REST API package for the boards, with business logic in use-case classes built on the platform's existing model and service helpers.
- Board rules sit in one place, not in views
- The React views consume clean JSON
- Later screens can reuse the same endpoints
Fix the structure before the AI writes code
AI-drafted code is hard to review when every file is shaped differently.
Every board uses one set of files: entry, view, context, service hook and one query hook per endpoint.
- Drafts are predictable to review
- Boards can be compared side by side
- The layering was later written up as a Claude Code skill
Prove parity with a written inventory
With no shared code, nothing could be diffed to show the new boards behaved like the old ones.
I read about 5,600 lines of legacy JavaScript and checked 450 behaviours as pass, partial or fail, with file-level evidence.
- An exact, prioritised list of what was left
- Confirmed places where the new boards were better
- Found a bug already live in the old app
What did I build?

- (01)
Afterwards, the approach was written up as a reusable Claude Code porting skill - folder layout, file-size limit, "no behaviour change during a port" and type-check plus smoke-test gates - alongside white-label and ticket-workflow skills and per-repo CLAUDE.md notes.
- (02)
Four complex boards rebuilt: an AG Grid server-side grid with persisted columns, a drag-and-drop kanban with optimistic updates, a status board with savings roll-ups, and a week/month Gantt calendar.
- (03)
A new Django REST API for the boards, with business logic in use-case classes rather than views.
- (04)
No downtime: the legacy boards kept serving customers while the new ones ran on staging.
- (05)
A 450-check parity audit that gave the team an exact, prioritised list of what was left - and caught a bug that was already live in the old app.
What is it built on?
No behaviour change during a port
Porting and improving are separate steps, so every difference is either a bug or a decision.
Small checkpoints
Type-check and smoke-test after each layer so mistakes surface while they are small.
Evidence over opinion
Every parity verdict points at the legacy file and the new file that prove it.
How was it delivered?
- Phase 1
Legacy inventory
Read each board's template, inline scripts and JavaScript files to record what it fetched, rendered and did on every click.
- Phase 2
Fixed structure
Fixed one file layering for every board - entry, view, context, service and query - so each board could be drafted and reviewed the same way.
- Phase 3
API and boards
Built the REST API and the grid, kanban, status and calendar boards, type-checking and smoke-testing after every layer.
- Phase 4
Staging alongside legacy
Ran the new boards on staging behind the shared navigation while the Django boards kept serving customers.
- Phase 5
Parity audit
Checked 450 behaviours against the legacy code and handed over a prioritised list of remaining gaps.
What did I learn?
Structure makes AI useful
AI sped the work up most once the target structure was fixed; without it, drafts would have been fast but hard to trust.
Parity needs a written list
When two systems share no code, a written behaviour inventory is the only honest way to show what matches and what does not.
Audits find more than gaps
Reading the old code closely surfaced a production bug unrelated to the migration itself.
Questions about this project
- What did Balaji Sankar build in the Django to React with Claude Code project?
- I rebuilt four live project boards of a procurement platform, and the REST API behind them, in React and TypeScript with Claude Code. Dev-complete in about a week, then checked against the old app with 450 parity checks.
- Who was the client?
- Simfoni, in procurement / B2B SaaS.
- What was the hardest part?
- The project tracker is where procurement teams track every project from intake to signed savings. Its four main boards - a grid, a kanban, a status board and a Gantt calendar - were server-rendered Django templates driven by a lot of jQuery. Much of the data arrived as HTML fragments, and plenty of business rules lived only in that front-end script.
- What was his role?
- Sole engineer - frontend, backend and AI tooling.
- What technology was used?
- Claude Code, React 18, TypeScript, Vite, TanStack Query, AG Grid Enterprise, dnd-kit, Ant Design, Tailwind, Django 4 and Django REST Framework.
- What were the results?
- ~1 week to dev-complete on four board views and their API, 450 parity checks run against the legacy app, 4 board views migrated, each on real endpoints and One parity check surfaced a live production bug in the legacy app.
Have a project like this?
Tell me what you’re building or what’s broken. I’ll tell you straight whether I’m the right person for it.