PHP monolith → React/Next.js
A web agency had an e-commerce client with an old PHP backend – and no React developer on the team. Five weeks later a modern frontend sat in front of it, without rewriting the backend.
The problem
The backend was a grown PHP monolith – no framework, no tests, barely maintainable. At the same time the end client wanted a modern, fast frontend. The agency owned the client relationship and the project management, but had no React expertise. A complete backend rewrite would have blown the budget and the timeline.
The solution
I was hired as a subcontractor and built a React/Next.js frontend with TypeScript in front of the existing PHP API – including state management, responsive design and deployment. The backend was left untouched and the agency remained the single point of contact for its client.
Step-by-step approach
- Analysing the PHP endpointsExisting API routes, data formats and error cases mapped – without touching the production system.
- Frontend architecture & prototypeNext.js project structure, routing and TypeScript types defined for every API response.
- API connectorCleanly encapsulated data access layer including error handling, caching and loading states.
- UI implementationComponent-based interfaces, responsive layout and performance optimization.
- Deployment & handoverBuild pipeline, hosting setup and documented handover to the agency – including a short training session.
The result
The end client got a modern, fast frontend – without the backend having to be rewritten. The agency was able to complete the project successfully even though it had no React knowledge in-house. The code is documented and ready to be maintained by a React team.
Who this approach is for
- Agencies without React capacity that do not want to turn down a client project
- Companies with a working backend but an outdated frontend
- Teams that want to modernize step by step – without risk to live operations
- Projects under fixed-price and deadline pressure where the scope has to be clear
Further references
Two more projects from related fields.
Java 8 → Spring Boot 3
A 15-year-old Java 8 monolith was modernized step by step – testable, maintainable and without downtime.
AI-generated code made production-ready
An AI-generated prototype without auth and tests became a stable, secure application in 4 weeks.
Is your frontend stuck in an old backend?
Let's talk for 30 minutes free of charge – I will look at your API and tell you whether a new frontend is enough.
Go to inquiry form →🔹 Fixed price. 5 weeks. You keep the code.
Your technical sparring partner for difficult software projects
I work as a full-stack developer for companies and agencies – when existing systems slow things down, but a full restart would be too expensive or too risky.
Stack: React, Next.js, TypeScript, Java, PHP • Approach: pragmatic, transparent, production-focused.
