如何托管reactJs(前端)NodeJs(后端)和Mysql数据库

I have 2 separate project. One is for frontend reactJs another for backend NodeJs and I am using mySQL database to fetch data from. My main issue is, I am not able to host this website on internet. I tried using firebase hosting and was able to host frontend reactJs project. I still have NodeJs and MySql db that needs to be hosted in order for the website to function. Also, what changes do I need to make in the connection file to DB, from front end the api firing is done using axios("http://localhost:3000") . Do I need to change this as well? I am completely new to this hosting process. Kindly help. It is extremely urgent

评论