CodeIgniter Forums
React + MySQL - 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: React + MySQL (/showthread.php?tid=88754)



React + MySQL - jackjulian - 10-31-2023

Hi
I have created an app using Code Igniter 4, React and MySQL which is all working locally and allows the user to track their daily nutrition and workouts. My only problem is now I am ready to deploy and not sure how to exactly do this when using React and MySQL with Code Igniter. 
I have put my react app inside the public folder.
Can any recommend any material that shows this being done? Or have any previous experience doing this and can point me in the right direction on where to get started. I was trying to use Heroku initially but I just couldn't seem to get it linked up.
Thank
Jack


RE: React + MySQL - captain-sensible - 11-02-2023

is not "react" front end and therefore not associated with databases ; i admit to being quite ignorant of react . if somebody used your app i guess they would have to setup Mysql on their server , configure connect and grant access to users. If you used sqlite as a database, which is serverless then , i guess you might be able to do an app that works out of the box .