Deploy MERN Ecommerce Website On Render.com

Поделиться
HTML-код
  • Опубликовано: 2 окт 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
    / @buildwithaitools
    ---
    Follow me on:
    👉 Website: codingwithbasi...
    👉 Twitter: / basrijd
    👉 Linkedin: / basir-j
    👉 Github: github.com/basir

Комментарии • 59

  • @mamunarrashid39
    @mamunarrashid39 Год назад

    Thanks, It was clear and concise

  • @kacperkepinski4990
    @kacperkepinski4990 Год назад

    without knowing about creating app it is usless

    • @BuildWithAITools
      @BuildWithAITools  3 месяца назад

      find the tutorial for app here: www.youtube.com/@CodingwithBasir/playlists

  • @kacperkepinski4990
    @kacperkepinski4990 Год назад

    it is pointless showing sth new with complex stuff

    • @BuildWithAITools
      @BuildWithAITools  3 месяца назад

      find the tutorial for app here: www.youtube.com/@CodingwithBasir/playlists

  • @nicolotiraboschi
    @nicolotiraboschi Год назад

    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?

    • @BuildWithAITools
      @BuildWithAITools  Год назад

      hello there,
      thanks for your interest.
      I suggest aws lightsail server for small project.
      I have a tutorial for it on my channel

  • @akshatlifts1446
    @akshatlifts1446 10 месяцев назад

    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

    • @BuildWithAITools
      @BuildWithAITools  3 месяца назад

      what exact error do you get? submit an issue on the github repo with all details. repo link is in the video description.

  • @yanferaraque1051
    @yanferaraque1051 Год назад +1

    thank you Bashir, you are the best fullstack teacher I have found in this year learning JS.

  • @suhaaniaggarwal7123
    @suhaaniaggarwal7123 Год назад

    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

    • @BuildWithAITools
      @BuildWithAITools  Год назад

      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.

  • @vishantt
    @vishantt Год назад

    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?

    • @BuildWithAITools
      @BuildWithAITools  Год назад

      free tiers on render will be showdon after 30mins idle. you need to upgrad it.

  • @georgenagy52
    @georgenagy52 Год назад

    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??

    • @BuildWithAITools
      @BuildWithAITools  Год назад

      hello there,
      I suggest aws lightsail for commercial use. it is cheap and fast.

  • @kacperkepinski4990
    @kacperkepinski4990 Год назад

    i do not know anything why root directory is empty....

    • @BuildWithAITools
      @BuildWithAITools  3 месяца назад

      what exact error do you get? submit an issue on the github repo with all details. repo link is in the video description.

  • @anthonyferrer1034
    @anthonyferrer1034 Год назад

    What if I uploaded my backend api and react to 2 separate repositories?

    • @BuildWithAITools
      @BuildWithAITools  Год назад

      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

  • @a.elhoor3058
    @a.elhoor3058 Год назад

    when I deploy mine I just get a backend deplayment why?

    • @BuildWithAITools
      @BuildWithAITools  Год назад

      Please ask this question here:
      codingwithbasir.com/questions/ask/
      I answer it on daily basis.

  • @ahlambeyoud1709
    @ahlambeyoud1709 Год назад

    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!

    • @BuildWithAITools
      @BuildWithAITools  Год назад

      hello there,
      thanks for your interest.
      Please ask any coding questions here:
      codingwithbasir.com/questions/ask/

  • @CodeWithNasir
    @CodeWithNasir Год назад

    Thanks, It was clear and concise

  • @darklord11269
    @darklord11269 Год назад

    thank you, this video solved my problem

    • @BuildWithAITools
      @BuildWithAITools  Год назад

      hello there,
      thanks for your interest.
      Please ask any coding questions here:
      codingwithbasir.com/questions/ask/

  • @vashishthweb
    @vashishthweb Год назад

    Build folder npm start does not exist
    Build failed
    Please help rendering on project shows this error

    • @BuildWithAITools
      @BuildWithAITools  Год назад

      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.

  • @webber5629
    @webber5629 Год назад

    please make video on how you uploaded it to github

  • @saurabhbisht2238
    @saurabhbisht2238 Год назад

    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.....

    • @madhukareppalapelly4239
      @madhukareppalapelly4239 Год назад

      facing same problem here .did you find any solution for that?

    • @BuildWithAITools
      @BuildWithAITools  Год назад

      Please ask any coding questions here:
      codingwithbasir.com/questions/ask/

  • @prabaljain5462
    @prabaljain5462 Год назад

    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.

    • @prabaljain5462
      @prabaljain5462 Год назад

      Ohh i just deployed and it is working fine. Someone please explain.

    • @abhayray5314
      @abhayray5314 Год назад +1

      @@prabaljain5462 After npm run build, you will be having html and css pages which the server will be serving/

    • @BuildWithAITools
      @BuildWithAITools  Год назад

      use use npm run build instead in frontend.

  • @love_hunter_coc
    @love_hunter_coc Год назад

    Sir please upload postgres data base also

  • @saeedkhazalvand4821
    @saeedkhazalvand4821 Год назад

    Hello Basir ,
    I need your consultant and wanna talk to you directly ....

  • @faaizalam235
    @faaizalam235 Год назад

    It's very easy

  • @aidarousjibril6323
    @aidarousjibril6323 Год назад +1

    Hi Basir, Build failed, it logs out "missing build script", this is from mern stack app from scratch built by you and brad

    • @aidarousjibril6323
      @aidarousjibril6323 Год назад

      You didn't answer my question

    • @radubradu
      @radubradu Год назад

      @@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",

    • @BuildWithAITools
      @BuildWithAITools  Год назад

      Please ask any coding questions here:
      codingwithbasir.com/questions/ask/

  • @waytocode
    @waytocode Год назад

    Anyone knows how to add subdomain?

    • @BuildWithAITools
      @BuildWithAITools  Год назад

      your code already is on subdomain of onrender.com
      what do you mean by subdomain?

  • @Daniel-mr6en
    @Daniel-mr6en Год назад

    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

  • @kacperkepinski4990
    @kacperkepinski4990 Год назад

    I have this Uncaught (in promise) SyntaxError: Unexpected token '

    • @BuildWithAITools
      @BuildWithAITools  Год назад

      Please ask this question here:
      codingwithbasir.com/questions/ask/
      I answer it on daily basis.