Deploy Frontend and Backend React app to heroku
Budget: $14 – $30 NZD
I have created a React App which is about posting articles using a react form to the MongoDB and have a search form to search the posted data( basically post data and gets data from MongoDB)
and there are two different folders for back and front end
my app is running on Localhost but I have to run both front end and backend separately from Terminal
E.G
I have to go to frontend root in the terminal and hit npm start --- front end starts
and then I have to go to backend and npm start to connect to the database
What I am trying to do is to deploy my both front end and backend to Heroku so I can access the data from Mongo DB using Heroku
now it only deploys frontend to the Heroku app and the form does not work
and there are two different folders for back and front end
my app is running on Localhost but I have to run both front end and backend separately from Terminal
E.G
I have to go to frontend root in the terminal and hit npm start --- front end starts
and then I have to go to backend and npm start to connect to the database
What I am trying to do is to deploy my both front end and backend to Heroku so I can access the data from Mongo DB using Heroku
now it only deploys frontend to the Heroku app and the form does not work