What would be the best or more efficient way to -partly- convert CodeIgniter to Next.js
Consider a large project that has been using PHP in Code Igniter for years. What would be the way to convert the project into a Next.js one? The PHP part won't be transferred immediately or not at all. So the question also includes not removing PHP (as the preferred option).
1 Reply
I thought about this question for few minutes.
If the CodeIgniter is used a backend only to build an API that serves a frontend, you can incrementally migrate your endpoints one by one.
If you're using CodeIgniter to render the Views, the migration most porbably will need to be a rewrite.