umm, where are you deploying your database? are you using mongodb atlas? what's going on? This is helpful, but I feel like you're title is a lie... You only covered how to deploy a ERN app...
Hey @pastafarian7, yes I am using mongodb atlas. I also assumed that you already have a mongodb database running. If you don't, you can watch this video here: ua-cam.com/video/084rmLU1UgA/v-deo.html&ab_channel=NetNinja to get your mongodb connection string, update your code to use the connection string, and pass in the connection string as env variable when deploying your MERN backend like how I did at 2:22
can someone help me with the api thing linking both . my site works in my computer but after deployment the server and client are not connected . i am a beginner , so help me wit the api part
Hey @ajm7745, are you using a variable for your backend url like how I am in the video at 3:30? It seems like you have your front end reach out to your backend with a hard coded value but when you host it on render you need to specify the backend url for your front end to connect to. So once you host your backend first, then you need to get the url of your backend app which render will randomly generate for you. Then you point your front end to reach out to the backend url. Hopefully that makes sense
@@AndysTechTutorials yes I got the idea . I am beginner and the in the code the URL is used itself directly. So now I need to find each of them and modify with a common one and import it ....
there is a problem in this if you refresh the app it will crash with a 404 because the routing request will be send to the server instead of the client. how to fix it?
There is something I don't understand. I would be very happy if you could help me. Isn't React frontend a dynamic web page? How can we deploy it to a static site?
Hi friend I'm a complete beginner of deployement of this type of projects , can you please tell me , how to show others my mern stack website bro if i open this render then log in then how to show others in another devices ?
Yes this does work with MongoDB Atlas. You can watch this video here: ua-cam.com/video/084rmLU1UgA/v-deo.html&ab_channel=NetNinja to get your mongodb connection string, update your code to use the connection string, and pass in the connection string as env variable when deploying your MERN backend like how I did at 2:22
Straight to the point, simple, and easy to understand. This was extremely helpful. Thank you.
umm, where are you deploying your database? are you using mongodb atlas? what's going on?
This is helpful, but I feel like you're title is a lie... You only covered how to deploy a ERN app...
Hey @pastafarian7, yes I am using mongodb atlas. I also assumed that you already have a mongodb database running.
If you don't, you can watch this video here: ua-cam.com/video/084rmLU1UgA/v-deo.html&ab_channel=NetNinja to get your mongodb connection string, update your code to use the connection string, and pass in the connection string as env variable when deploying your MERN backend like how I did at 2:22
Thank you so much andy 😊.
Hey Peacemaker.404, no problem!
can someone help me with the api thing linking both . my site works in my computer but after deployment the server and client are not connected . i am a beginner , so help me wit the api part
Hey @ajm7745, are you using a variable for your backend url like how I am in the video at 3:30?
It seems like you have your front end reach out to your backend with a hard coded value but when you host it on render you need to specify the backend url for your front end to connect to.
So once you host your backend first, then you need to get the url of your backend app which render will randomly generate for you. Then you point your front end to reach out to the backend url.
Hopefully that makes sense
@@AndysTechTutorials yes I got the idea . I am beginner and the in the code the URL is used itself directly. So now I need to find each of them and modify with a common one and import it ....
thank you it helped me dude
there is a problem in this if you refresh the app it will crash with a 404 because the routing request will be send to the server instead of the client. how to fix it?
Yeah 😢 Having similar issues here
Thank you!
There is something I don't understand. I would be very happy if you could help me. Isn't React frontend a dynamic web page? How can we deploy it to a static site?
You can follow my other video here: ua-cam.com/video/sp6n8rRA1VE/v-deo.htmlsi=fI-LKA1VXp3YJHpG to deploy your react app as a static site!
Hi friend I'm a complete beginner of deployement of this type of projects , can you please tell me , how to show others my mern stack website bro if i open this render then log in then how to show others in another devices ?
Hey @Tapabrata Pal, once you deploy your MERN app to render, then you can share the url that render generates for you to share with other people!
@@AndysTechTutorials OK I will do
@@AndysTechTutorials one question if i update my github and i modify my project then my project which is hosted that will be modified or not ?
@tapabratapalchowdhury507 if you update your repo on your GitHub, then yes, your project will also be updated on Render too!
thanks brother
Does this work for momgodb compass or atlas? If not compass what do I do on my end to make It work for compass?
Yes this does work with MongoDB Atlas.
You can watch this video here: ua-cam.com/video/084rmLU1UgA/v-deo.html&ab_channel=NetNinja to get your mongodb connection string, update your code to use the connection string, and pass in the connection string as env variable when deploying your MERN backend like how I did at 2:22
it ask about cridt card
You shouldn’t have to add your credit card! You can pick the free plan and it should work!
Thank you!