Deploy MERN Ecommerce Website On Render.com
Вставка
- Опубліковано 14 жов 2024
- How to Deploy MERN Ecommerce Website On Render.com
👉 Code : github.com/bas...
👉 Demo: amazona.onrend...
👉 Q/A : codingwithbasi...
🔥 Join Pro Membership And Get Access To Complete Courses:
1. Next.js PostgreSQL ECommerce Like Amazon
• Course Intro
2. Next.js Mongodb ECommerce Like Amazon
• Course Intro
3. MERN Stack ECommerce Like Amazon
• Course Intro
4. TypeScript MERN Stack ECommerce Like Amazon
• Course Intro
5. Vanilla JS ECommerce Like Amazon
• Course Intro
👉 Join Pro Membership Link:
by Clicking On This Link
/ @codingwithbasir
---
Follow me on:
👉 Website: codingwithbasi...
👉 Twitter: / basrijd
👉 Linkedin: / basir-j
👉 Github: github.com/basir
Thank you so much you are such a life saver. I have been looking everywhere to migrate my MERN app from Heroku to render I kept getting an error each time but now I made it. I have changed my build command to the build command you have on your project and it worked :D Subscribed!
hello there,
thanks for your interest.
Please ask any coding questions here:
codingwithbasir.com/questions/ask/
thank you Bashir, you are the best fullstack teacher I have found in this year learning JS.
Glad to hear that
If I want to use the eCommerce website, can I stick with the free plan or should I upgrade? In that case, should I consider alternatives to Render, like Heroku?
hello there,
thanks for your interest.
I suggest aws lightsail server for small project.
I have a tutorial for it on my channel
very usefull tutorial but i am facing an issu can u help me please. whenever i am adding environment variables it stops working.but the logs show it is deployed and running successfully. but when i try to use it it just keep loading no response from the server
what exact error do you get? submit an issue on the github repo with all details. repo link is in the video description.
i think i cant use render for commerical profit propuses am i correct?? and if im not correct can i add ads in my webapp depolied on render??
hello there,
I suggest aws lightsail for commercial use. it is cheap and fast.
It takes 20-30 secs for my website on Render to load after it has not been used for 2-3 hours. Basically it starts/executes the website again only after the url is hit. Why does that happen and what can I do to make it faster?
free tiers on render will be showdon after 30mins idle. you need to upgrad it.
Hello Sir please help. I am working on a different ecommerce project in which frontend starts with cd frontend and npm start and backend starts with npm run dev. I followed your steps but only the frontend is visible. I connected the MongoDB Cloud. But the server is not sending the API, I'm getting Axios error, even though on render it shows that server has started. Please help
hello there,
what error do you get in backend.
hello there,
thanks for your interest.
Please ask this question here:
codingwithbasir.com/questions/ask/
send screenshot of the error with all details.
I answer it on daily basis.
We haven't used npm run start for frontend anywhere during deployment how are we going to host the static website ? Can someone clear my doubt.
Ohh i just deployed and it is working fine. Someone please explain.
@@prabaljain5462 After npm run build, you will be having html and css pages which the server will be serving/
use use npm run build instead in frontend.
Hi Basir, Build failed, it logs out "missing build script", this is from mern stack app from scratch built by you and brad
You didn't answer my question
@@aidarousjibril6323 add this to the package.json in the root under scripts, just before start: "build": "cd backend && npm install && cd ../frontend && npm install && npm run build",
Please ask any coding questions here:
codingwithbasir.com/questions/ask/
Thanks, It was clear and concise
thanks
Thank you for this very helpful. What URL do I use to send HTTP requests to after deployment? I used /api/... in my express routes locally
same Q bro
Please ask any coding questions here:
codingwithbasir.com/questions/ask/
@@codingwithbasir how do I connect to my backend from my frontend?
What if I uploaded my backend api and react to 2 separate repositories?
for sure you can do it simply. in my TS Amazaona course you can do very easy in main.tsx file here:
github.com/basir/ts-mern-amazona/blob/main/frontend/src/main.tsx#L17
Build folder npm start does not exist
Build failed
Please help rendering on project shows this error
Hello there I didn't get what do you mean? Could you clarify the question and ask it on my website here
Please ask this question here:
codingwithbasir.com/questions/ask/
I answer it on daily basis.
thank you, this video solved my problem
hello there,
thanks for your interest.
Please ask any coding questions here:
codingwithbasir.com/questions/ask/
i do not know anything why root directory is empty....
what exact error do you get? submit an issue on the github repo with all details. repo link is in the video description.
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.....
facing same problem here .did you find any solution for that?
Please ask any coding questions here:
codingwithbasir.com/questions/ask/
when I deploy mine I just get a backend deplayment why?
Please ask this question here:
codingwithbasir.com/questions/ask/
I answer it on daily basis.
please make video on how you uploaded it to github
hello there,
thanks for your interest.
Hello Basir ,
I need your consultant and wanna talk to you directly ....
codingwithbasir.com -> book class.
Sir please upload postgres data base also
its been noted.
Anyone knows how to add subdomain?
your code already is on subdomain of onrender.com
what do you mean by subdomain?
without knowing about creating app it is usless
find the tutorial for app here: www.youtube.com/@CodingwithBasir/playlists
it is pointless showing sth new with complex stuff
find the tutorial for app here: www.youtube.com/@CodingwithBasir/playlists
It's very easy
hello there,
thanks for your interest.
I have this Uncaught (in promise) SyntaxError: Unexpected token '
Please ask this question here:
codingwithbasir.com/questions/ask/
I answer it on daily basis.
Thanks, It was clear and concise
hello there,
thanks for your interest.