You might remember the various articles about Laravel versus Next.js I wrote here. They're not many, so it's not that hard to figure it out when I wrote them. All my reasons are written there. And yes, I still believe in all of them.
However, this last weekend, I decided to migrate back to Next.js and Vercel. The admin panel I've created, though working to my liking, was underused. The idea of merging various projects into this one I did not manage to put it into practice. I was paying for a server and for Laravel Forge, basicaly, for a static page.
To save some Euros β yes, I live in Europe β and to put this extra money into other projects, I've decided to port the site back to the previous stack, in Next.js and Vercel. The current whole stack is:
src/appIt took me around 8h across Saturday and Sunday to finish the migration. You can see the commits in this Pull Request.
Thsi migration, not only allowed me to save money (around 300 Euros/year), but also allowed me to introduce some changes I wanted since a long time:
@layer directive and use the descendant selector from Tailwind ([&_])src/_posts)Header and Footer'use client', SSR FTWOverall, I'm happy to save some money, in the quick migration of the site, and improving some parts of the site that were in need. The experience obtained using Next.js and Vercel daily at work, as well as the Laravel experience from some side projects, really helped..
Now, I only need to grow the habit of writing again :)