Deploy a MERN STACK app on Render platform in 2024

Поделиться
HTML-код
  • Опубликовано: 18 янв 2025

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

  • @Inumaru3
    @Inumaru3 11 месяцев назад +11

    Another great content! Is it also possible for you to show deployments of seperate frontend and backend instead of merging both into one? while showing the process of handling CORS, fixing needed URL paths and other issues that there may be in the process of doing so?

  • @unpaired-electron
    @unpaired-electron 4 месяца назад +1

    Deployed my first app today. Thank you so much Jon!!

  • @rany2126
    @rany2126 11 месяцев назад +1

    Nice one Jon! Thank you!

  • @MuhammadAyaz-z5b
    @MuhammadAyaz-z5b 2 месяца назад

    My first ever successful deployment or MERN app. Thank you so much.

  • @frapes614
    @frapes614 5 месяцев назад

    Thank you, the only thing that worked for me after hours of searching.

  • @balajiprakasam
    @balajiprakasam 3 месяца назад +1

    it worked!! and i liked the method to build a static front end i was doing it seperately before

    • @worthydart
      @worthydart 2 месяца назад

      Is it required to add card information for free deployment?

    • @balajiprakasam
      @balajiprakasam 2 месяца назад

      @@worthydart no

  • @zububabu8249
    @zububabu8249 23 дня назад

    thank y i deploye my typescript mern the process is almost same i got clearity after watching ur video

  • @srikalyani3393
    @srikalyani3393 4 месяца назад

    Thank you so much, you helped me alot

  • @my-plastine
    @my-plastine 7 месяцев назад +1

    thx bro for this good steps. niceee

  • @TripleAEnter
    @TripleAEnter 8 дней назад

    i have deployed but it is showing me a cors policy issue

  • @alexpiano
    @alexpiano 9 месяцев назад

    Hello! This looks really promissing, I'll try it.
    Although in my case I'm using a postgres database, so I guess I need first to setup a postgresSQL service on render prior to setting up the web service right?

  • @caT_eDiTx0
    @caT_eDiTx0 10 месяцев назад +1

    Bro Why the rush?
    I am getting error that is json error but its good locally😢

  • @MatheusSilva-qm3ph
    @MatheusSilva-qm3ph 2 месяца назад

    Very good, congratulations! One question, do you know how to deploy this project to Firebase? If you know, please teach me. Thanks.

  • @jasontsai8596
    @jasontsai8596 2 месяца назад

    This video is execellent. really appreciate your guide though I don't use Tailand or Taiwan

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

    When I deploy fronted and backend over different web services my backend is not awakened when I open url of frontend

  • @abhishekpanwar-vg7hj
    @abhishekpanwar-vg7hj 6 месяцев назад

    thanks bro really helpful video must watch

  • @Sharath.46
    @Sharath.46 6 месяцев назад

    sir do you know when render free plan ends ?

  • @ramashish294
    @ramashish294 5 месяцев назад

    Thanku sir, you explain nicely

  • @ismaelIb8
    @ismaelIb8 6 месяцев назад

    can u update ur github cz they are 2 separated parts (frontend folder is not in backendi folder)

  • @theblancmange1265
    @theblancmange1265 8 месяцев назад +1

    Thank you!

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

    i used commonjs but not module, how should i do that express.statuc part?

  • @joshdionio1075
    @joshdionio1075 4 месяца назад

    but how can i add my environment variables for my client, im using vite

  • @devsuthar6795
    @devsuthar6795 9 месяцев назад +1

    someone help im facing bcrypt error Error: /opt/render/project/src/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node: invalid ELF header

  • @samarbhao4703
    @samarbhao4703 8 месяцев назад

    Thank you man

  • @srijansingh449
    @srijansingh449 Месяц назад

    While deploying backend on render I'm getting this mongodb_oidc error. How to fix this?

  • @aditya8778
    @aditya8778 6 месяцев назад

    any help on this
    Rollup failed to resolve import "react-router-dom" from "/opt/render/project/src/server/client/src/main.jsx".

  • @rudrarathore6321
    @rudrarathore6321 9 месяцев назад

    showing enoent err
    npm ERR! enoent ENOENT: no such file or directory, open '/opt/render/project/src/my_rooms/package.json'
    what should I do?

    • @isaiahokon5192
      @isaiahokon5192 9 месяцев назад

      In the root directory, type in the filepath to your server folder... For example: ./server

  • @JedOpeningThings
    @JedOpeningThings 4 месяца назад

    You don't need to separate into two services.
    If you have a MERN project etc. You will need to run npm run build in your client directory.
    1. Once the dist folder is created.
    2. You will have to go to your server.ts or wherever you server startup is and serve the static files. (Google this)
    3. Once the static files are connected to your functions in server.ts. Head on to render and do the same as this video.

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

    thankyou so much for this video , It helped me a lot

  • @royfrias4379
    @royfrias4379 4 месяца назад

    Hey jon thanks for the great videos but I am having a big problem I keep getting this error constantly , Ive been trying everything and I just cant get this to work what so ever any tips or advise you can give me please it would be greatly appreciated
    Error: Cannot find module '/opt/render/project/src/server/index.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1248:15)
    at Module._load (node:internal/modules/cjs/loader:1074:27)
    at TracingChannel.traceSync (node:diagnostics_channel:315:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:166:5)
    at node:internal/main/run_main_module:30:49 {
    code: 'MODULE_NOT_FOUND',
    requireStack: []
    }