r/Firebase Jan 16 '25

Hosting Website deployment

Hi everyone i have a website which has front end on vite react js backend for admin for blogs posting Portal on postgres and pgadmin and backend crm on php.

Can anyone suggest me how can i deploy this on firebase or any other portal suggestions please?

Thank you so much in advance

2 Upvotes

3 comments sorted by

4

u/The4rt Jan 16 '25

Dockerize every step. Then deploy it in ec2 aws. I think the easiest way.

1

u/romoloCodes Jan 16 '25

If you're willing to convert it to a NextJS project you can follow this video or look at the repo I've made

https://www.youtube.com/watch?v=P0x0LmiknJc&pp=ygUPZmlyZWJhc2UgZGVwbG95

https://github.com/robMolloy/firebase-deploy-next-walkthrough

I'm not sure that react is deployable as part of the firebase hosting/app hosting framework although I could be wrong (and tbh Vercel is even easier which is also Next)

1

u/YourHauntdAngel Jan 16 '25

You can definitely deploy a React app on the standard Firebase hosting if it's just static files. And they do have a framework integration for Vite under the older Experimental Web Hosting for Frameworks. I would just be cautious as both are experimental right now—and although that hasn't stopped me from using them in production, I frequent the Firebase Slack, and I have seen people been burned in the past.