Guys take note, if it fails, read the errors, especially in MERN stack. If the error is module not found in my case, it was express, cors, and others. Manually type those packages inside the package.json. It will work. I encountered module not found error in my backend folder. It turns out that my package.json frontend included all of it but not my package.json backend so I copied it into my package.json in my backend folder and it worked. You have to manually include/type it in package.json.
I hosted a Java SpringBoot project Runt Time as Docker. The deployment was successful. But I'm not able to update the website or make any changes. I even deleted my render account, github repo. even I tried with creating new github account. Nothing is working. whenever I deploy my project file, it is hosting my old website only. How to get rid of this problem?
Which files are to be put in frontend and which in backend if i have html,css,js files as well as ... it's really confusing, also i am seeing you have few files in both frontend and backend folder...like node_modules. So are we suppoed have them in both folders?
Can you please show how to deploy to Render for a PERN stack backend? I created a Web Service on render for my backend and added the URL on the frontend (hosted on firebase), but I am getting Uncaught (in promise) errors on my deployed site. It doesn't seem to be connecting to the backend. My app uses postgres
Bross Zino, Nice one great job ...I successfully uploaded an Express server built successfully but when I clicked on the the created link it returned page not found/page not allowed . How do go about that can I still go ahead to deploy the front end with the created link as it is? I didn't see you try to open the created link for the back end and it worked will it still work that way . Pls thanks ....
Hi, everything is working fine except when i make api calls I get a 404 not found and nothing gets submitted to MongoDB either after replacing url like you did, any ideas how i can fix this? Thanks in advance.
@@ZinoTrustAcademy Thanks for you quick response. After going back and rechecking the code in my frontend, I realized I copy and pasted the static site url from Render and not the web service one 🤦🏻♂️. Everything is working now, thanks so much. Liked and subscribed 👍🏼.
Hii iam working on different mern project everything is working fine but when i reload the page it just says 404 error not found.......it is working well in local host it is not working after deployment.....
Hi, I followed you instruction of deploying, but get error 400, I guess frontend could not fetch the backend’s url. Do you have any suggestions on solving with error? I stuck on this error way too long, and my website is not working yet.
I don't know what your API does, but read this and see if it's relevant. render.com/docs/free#:~:text=The%20free%20plan%20allows%20for,is%20charged%20at%20%240.10%2FGB.
Thank you so much. This is a detailed explanation video on how to deploy mern application (frontend + backend) on render.
You are great brother. It is my first time that I see one video and deploy my whole website.Thanks brother.
THANK YOU FOR THIS VIDEO! I've got the front end up and almost the backend. I just cannot get it to connect to mongodb
This guy is too much. Thanks. This helped me with another problem I had.
Most easy to follow and updated from all to hard tutorials out there !! KUDOS 🙌
Thank you so much for this!
I wasted days with convoluted misleading guides, but it's actually so simple :)
Guys take note, if it fails, read the errors, especially in MERN stack. If the error is module not found in my case, it was express, cors, and others. Manually type those packages inside the package.json. It will work. I encountered module not found error in my backend folder. It turns out that my package.json frontend included all of it but not my package.json backend so I copied it into my package.json in my backend folder and it worked. You have to manually include/type it in package.json.
I hosted a Java SpringBoot project Runt Time as Docker. The deployment was successful. But I'm not able to update the website or make any changes. I even deleted my render account, github repo. even I tried with creating new github account. Nothing is working. whenever I deploy my project file, it is hosting my old website only. How to get rid of this problem?
i've been struggle with vercel for two days, but when I discover render I said wow
Easiest video on youtube
Thanks a lot sir
make playlist on (how to create document management and tracking system in mern stack) and fully explained it with code
Thank you so much, took me a few hours to find what I needed! Blessings to you sir!
Thankyou soo much zino trust academy, your tutorial was very easy and to the point..i was finally able to depoy my application on render
my deploy fails with this message -- Service Root Directory "/opt/render/project/src/index.js" is missing.
This works for any mern app. Thanks for the tutorial
is this free, do I need bank account to register? I want to host my backend and front end to this site.
Which files are to be put in frontend and which in backend if i have html,css,js files as well as ... it's really confusing, also i am seeing you have few files in both frontend and backend folder...like node_modules. So are we suppoed have them in both folders?
Thanks now my project is running again!!
how to deploy projects that contain ejs files and react is not used
Worked like a charm. Thank you so much!
can you make an example using angular deployment like MEAN stack?
Can you please show how to deploy to Render for a PERN stack backend? I created a Web Service on render for my backend and added the URL on the frontend (hosted on firebase), but I am getting Uncaught (in promise) errors on my deployed site. It doesn't seem to be connecting to the backend. My app uses postgres
You need to go to firebase settings and add the frontend url to the list of urls that can access firebase data.
Nice video. Thanks for sharing. Please, make a video on Vercel Deploy.
i am trying to deploy my projects backend server but after all it shows Build folder npm start does not exist! what to do right now please help me
I want to thank you for your time and explaining this in a super easy manner.
Render is way more friendly than heroku.
Hey had you added ssl certificat in your backend?
Can anyone tell me how to add custom domain for our static site which i purchased from go daddy
so theres a package.json in both front and back end?
Thank you for this simple and clear tutorial.
make a video on how to connect a custom domain with Godday to Render
Bross Zino, Nice one great job ...I successfully uploaded an Express server built successfully but when I clicked on the the created link it returned page not found/page not allowed . How do go about that can I still go ahead to deploy the front end with the created link as it is?
I didn't see you try to open the created link for the back end and it worked will it still work that way .
Pls thanks ....
Hi, everything is working fine except when i make api calls I get a 404 not found and nothing gets submitted to MongoDB either after replacing url like you did, any ideas how i can fix this? Thanks in advance.
Check your frontend deploy, I suspect the backend url environment variable may be the issue. Also check all your encouragement variables.
@@ZinoTrustAcademy Thanks for you quick response. After going back and rechecking the code in my frontend, I realized I copy and pasted the static site url from Render and not the web service one 🤦🏻♂️. Everything is working now, thanks so much. Liked and subscribed 👍🏼.
Thank you for video, it helps me a lot
Great video man. Subscribed
thank you bro. for making this type of contents.
Nice video. It was helpful. Thank you.
Thanks, bro ❤
from Bangladesh❤
Can I use Render as a production enviroment?
Hii iam working on different mern project everything is working fine but when i reload the page it just says 404 error not found.......it is working well in local host it is not working after deployment.....
ikrrr same
What about the frontend, will it work without node modules?? shouldn't it be 2 commands one for build and one for installing node modules??
Follow the tutorial, it will work. But it's better to host your frontend on vercel or Netlify.
@@ZinoTrustAcademy thanks alot
Awesome tutorial brother.... thanks soo much
Hi, I followed you instruction of deploying, but get error 400, I guess frontend could not fetch the backend’s url. Do you have any suggestions on solving with error? I stuck on this error way too long, and my website is not working yet.
update the fetch api link in state
that's way too much work, you can do all of that with a single monolith using heroku
Intrrnal server error
thank you my brother🤩
Thanks for this tut
great dear amazing keep it up
Where to deploy databases
nice, ty!
It Helped Bro
i would like to expand this guy 🤣🤣🤣🤣🤣🤣🤣🤣
Thanks!
Now we have to pay :(
thanks 😊
Render is so much better!
I fucking love you man ❤️❤️❤️
Thanks
good I success, but I prefer the way to deploy in heroku, just one single repository
my api closes every 5 minutes, any idea how to solve it?
I don't know what your API does, but read this and see if it's relevant.
render.com/docs/free#:~:text=The%20free%20plan%20allows%20for,is%20charged%20at%20%240.10%2FGB.
✅ MERN Stack Course 👇
olink.to/mern-course
I have kept Frontend folder inside backend folder. Please help me what to do
Thank you