CodeIgniter Forums
Deploying a CodeIgniter 4 Application with React Frontend and MySQL Database - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Deploying a CodeIgniter 4 Application with React Frontend and MySQL Database (/showthread.php?tid=91433)



Deploying a CodeIgniter 4 Application with React Frontend and MySQL Database - EdwinSchulz - 08-09-2024

I've created a web application using CodeIgniter 4 as the backend, React as the frontend, and MySQL as the database. The application is working fine locally, but I'm unsure how to properly deploy it to a production server.

Where should I place the React app within the CodeIgniter 4 project structure? I've currently put it in the public folder, but is that the best approach?