← Back to portfolio

CASN — migration from Laravel to Next.js

I migrated the CASN publishing site from Laravel and Blade to Next.js and TypeScript, separating the editorial workflow from public reads in MySQL. The modernized site is live at casn.pl.

Przemysław Pietrzak

Migration goal

CASN publishes analysis by multiple authors. The modernization gave the editorial team its own workspace while keeping the archive publicly available. In the previous version, I worked on a shared registry for authors, articles, routes, and the sitemap.

My role and technical decisions

I built and maintained both versions of the site. I moved the public frontend to Next.js and TypeScript. The application reads published entries from MySQL, while editors work in a separate dashboard. Public reads therefore do not depend on the editorial dashboard. I used Docker and Nginx for the runtime.

Outcome

The new version is publicly available at casn.pl. The repository contains the application code, runtime configuration, and documentation of how public reads and editorial work are separated. The previous site is still publicly accessible as a reference for the migration.