Skip to content
NomanAkram
All case studies
saas

Workstein Rebuild

Full platform migration: Laravel/PHP → Next.js 14 in 6 weeks

Workstein Rebuild
38
Controllers migrated
6
Modules
6 weeks
Delivered in
The problem

What needed solving

An HR platform was trapped on a Laravel/PHP/jQuery stack it had outgrown, with AI services that had to survive the migration.

The approach

How I built it

Migrated 38 controllers and 38 models to Next.js 14 across six modules, retained the Python FastAPI AI services behind a new Node.js gateway, and shipped in 5 to 6 weeks.

Architecture

How the system fits together

A Laravel 11 application (PHP, Blade, jQuery and MySQL) was replaced by a Next.js 14 and TypeScript front end with Zustand and React Query, on a Node.js and Express API with PostgreSQL. The rebuilt modules cover employee management (designations, departments, branches, locations, documents and contracts), performance and goals (appraisals, competencies, goal tracking, indicators and assessments), settings (email and notification templates, plans, coupons and company policies), an HR dashboard with reports, and role and permission management. The existing Python FastAPI AI services were kept and integrated behind the new API gateway, where they power the AI Insights module. The platform is deployed on Vercel and Railway.

The outcome

Results

  • 38 controllers and 38 models migrated across six modules
  • Shipped in 5 to 6 weeks
  • Existing Python FastAPI AI services kept running behind a new Node.js gateway
Overview

The details

Full platform rebuild for an HR SaaS, migrated from Laravel 11 (PHP/Blade/jQuery/MySQL) to a modern Next.js/TypeScript stack. Rebuilt Employee Management, Performance & Goals, AI Insights, Settings, Reports and User Management, retaining the existing Python FastAPI AI services.

Key features
  • Laravel → Next.js 14 migration (38 controllers, 38 models)
  • Six modules incl. Employee Management & Performance
  • AI Insights: retained Python FastAPI, integrated via API gateway
  • RBAC with role & permission management
  • Deployed to Vercel + Railway
Available for new projects

We can build something that lasts.

Tell me what you are building. I will come back with an honest take on approach, scope and timeline, usually within 24 hours.