My application has a NodeJS server, ReactJS client and database MongoDB compass. I need to deploy this to Heroku. Is there any way to do that?
Related
I have built a simple application, with backend and frontend separated.
I don't know how to deploy the backend to Heroku.
I'm using nodejs as a backend, an mongoDB as a database.
I have free atlas on mongodb and a free dyno on heroku for developing.
I'll finish developig my App soon and I'll have to buy production plans of both heroku and mongoDB so,
MY QUESTION is, is there a mongoDB that I can install on heroku and use it along with my heroku app?? or do I have to buy an Atlas and connect it to heroku?
Can anyone please help me to deloy this app,
https://github.com/shashank7200/razorpay-react-demo,
to a digital ocean or a heroku server.
I have tried a lot and the app runs perfectly on my localhost server but I am not sure what configurations are needed to deploy it on heroku.
I have deployed this on heroku and here is the link:
https://secure-wave-18557.herokuapp.com/
The issue here is that it doesn't display the frontend for the the app which is written in react.js
Thanks
I created and deployed a MERN web app on DigitalOcean which works fine using a Mongo database hosted on mlab.com, but now I want to host the database on DigitalOcean and I'm having difficulties with this...
I followed this tutorial https://www.digitalocean.com/community/tutorials/how-to-install-mongodb-on-ubuntu-16-04 but now I don't know how to connect my node.js server to this database.
Does the connection to 127.0.0.1:27017/mydbname should work on production?
Any solution or advice would help me a lot.
Currently I am deploying my app on a Heroku server. The app is written on Node.js and uses MongoDB as a database source. I'd like to know how I can upload my own database on Heroku without having to use any add-ons or databases provided by Heroku.