Thankyou so much... I have watched more than 15 videos but was not able to deploy... But now, by your video I have deployed my first web app....Thankyou so muchh❤❤❤
Thankyou so much you helped me alot really worked. Earlier I was getting issue when I type vercel on cli then I saw I had to do vercel init at first then it worked 😅 if anyone is getting the same issue you can solve it through this message coders 😁🤭🙏 . And thankyou mam from 2 days I was trying and searching for such type of content you posted 🤗✨
You're welcome! I'm glad to hear that the solution worked for you. If anyone else is facing the same issue with Vercel, remember to use `vercel init` first to get things set up. It can save a lot of time and frustration. Thank you for sharing your experience and helping others with the same problem. Happy coding! 😊✨
¡De nada! Me alegra saber que finalmente encontraste una explicación que te ayudó. Si tienes alguna otra pregunta o necesitas más ayuda, no dudes en preguntar. ¡Feliz codificación! 😊✨
personally i can say best ever video on internet explaining how to deploy web app , crystal clear explanation but mam i have one question i have used multer for image upload and i am giving path of that in my vite.config.js file so how to deal with that while deploying app please answer mam
backend and frontend separately is very wirdo idea for productions as it will publish whole data whoever hit the URL. it will be better if we can maintain these access from the application side only.
I was able to host both frontend and backend on render itself .why you host seprately?? by the way i hosted html css js express js mongo db without react website
i am getting this error "err = new ServerSelectionError();" please mam help me to solve this error...i just searched whole youtube and found your video helpful a lot. please mam
This error usually occurs when the MongoDB client cannot connect to the MongoDB server. 1. Ensure that your MongoDB server is running. 2. If you are using MongoDB Atlas, make sure your IP address is whitelisted in the network access settings.
May be another application is using the port your application is trying to use (8001 in this case). const port = process.env.PORT || 3000; // Change 3000 to any other port number
I have done all steps correctly but I am not to login into my application, I don’t why but I am getting loging successfully message and my cookies is storing correctly. Can any one help me please
Didi main jab render pe backend deploy karne ki kosish kar raha hu toh ek error aa raha hain bar bar. "npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/opt/render/project/src/package.json' "... Mere paas toh aisa koi path hain bhi nahi phir pata nahi render kaha point kar raha hain. Kindly guide me.
It looks like you're encountering an error because Render is unable to find the package.json file in the expected directory. 1. Check Your Project Structure: Ensure that your package.json file is in the root directory of your project. 2. Update the Build and Start Commands: --> Go to your Render dashboard. --> Navigate to your service settings. --> Ensure your Build Command is correctly pointing to where your package.json is located. For example, if your package.json is in a different directory, you might need to change the build command from npm install to cd && npm install. --> Update your Start Command similarly. If still you are getting error then send me your GitHub repository link. I will check your project structure.
@@SumansAcademy Thanks didi I was able to deploy it on render and vercel. But another issue arrived. Vercel par deploy karne ke baad jo url ko paste kar raha hu toh kuch nahi display ho raha browser par. Error 404 dikha raha hain. Render pe logs par jake check kiya toh waha as such koi error nahi dikha raha. Phirse se ekbar deploy kiya render aur vercel par tab bhi nahi aa rha. Samajh nahi aa raha yeh error.
Vercel ka deployed URL work nahi kr raha h kya? Aisa karo browser p vercel.com k website m login karo. Profile k icon m click kr k *Dashboard* page m jao. Waha pr sare deployed projects dekhenge. Usme click kr k *deployments* m jao or dekho kya error h.
If vercel is not working for you then search on youtube for react app development and try to deploy on different platforms such as netlify or github pages.
Yes it still works. Please create your new account and check. If you are using the user credentials given in this video then it may not work because accidentally I removed that file from my database.
@@SumansAcademy Thanks for your fast reply. I have a 7$ monthly plan on Render and i really can't succeed to configure it. I think it will be a good video for future... now i'm using Cloudinary as an alternative to upload images
Hello ma’am ! I tried deploying my MERN e-commerce website with this process. While everything turned out to be fine but in the frontend, the images are blank. No matter what I do, it isn’t showing. Any suggestion?
I'm trying to access my web page and there is an error in the console:- failed to load resource: the server responded with a status of 404 ///// actually in locally it's working fine .. pls help me
In Render.com check in Logs you will get details why you are getting that 404 error. If you have time then try to deploy it once again. Failed to load it had happened with me also. I deployed it again then it worked.
In backend do this. 1. npm i cors 2. In index.js or server. js file write const cors = require ("cors") app.use(cors()) Also sometimes due to network issue you may get cors error.
My backend is perfectly running on my device but when i try to deploy it , its showing deployment failed. Can you please resolve my issue. i am trying to deploy my project since 30 days but still i cant able to deploy
@@SumansAcademy Thank you. The deployment is successful using your demo itself. But the dynamic process is not working, means I have a uploads folder in the backend in which if we upload any image that will be stored in the uploads folder and in mongoDB I just store the name of the image. So I render the images such that I check the name of the image in DB ans shows the image using uploads folder in the backend. But it's working upto my local host. But when I deployed , the image is not rendering, may be because it cannot enter to uploads folder. 🤧Sorry for asking these much of doubts
You're welcome! No worries at all about the questions. If you're using only Multer to upload images, try uploading images using the method described in this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-UNKQ1I4O7eU.html. This has worked for me and might solve the issue with the images not rendering after deployment. Let me know if you need any further assistance!
You can not deploy backend on vercel. I have once deployed json server on vercel only GET request was working. Rest Other where not working. Vercel is more like deploying frontend application.
Hi @iqraaslam1923, Thank you for your comment! To ensure you can take full advantage of Render's free services without any hassle: Sign In Properly: 1. Make sure to sign in using your original Gmail account or GitHub account via OAuth. Avoid using temporary email services as they may cause issues and might require additional verification, such as credit card information. Choose the Right Instance Type: 2. Once signed in, select the "For hobby projects" instance type during setup. This option is completely free and perfect for small personal projects. If you have any more questions or need further assistance, feel free to ask. I'm here to help!
In Render.com check in Logs you will get details why you are getting that 404 error. If you have time then try to deploy it once again. Make sure you are giving the root file directory in render. If you are not able to resolve the issue by yourself then write more about the error here.
Till 10:59 we were deploying our api endpoints only on render. Now in place of localhost:8080/ You will use render.com api suppose this - rc-wc0f.onrender.com/