how can i host a react crud appliction that uses firebase as its backend

Viewed 24

So i created two CRUD applications with firebase api, one is a registration site that uses the create function in firebase to create new input to the database upon submit of the registration form. It works on my pc because i installed firebase in my node-modules, but when i made it live on git-hub I tried heroku too and it didnt work either. Same as the second app that pulls the data from the database and displays it. I havnt found anything on youtube to help pls who can here?

1 Answers

Do you have package.json file in your project? And you must install all node modules that are specified in your package.json file on whichever hosting server you use. If you're not familiar with Github or Heroku and don't know how to install them in there, try out with Vercel or Netlify as they support auto-installation for all node packages from your package.json

Related