How to Deploy a Node.js App to Render.com for Free (Heroku Alternative)

Поділитися
Вставка
  • Опубліковано 22 жов 2022
  • In this video I will teach you how to deploy a Node app for free to render.com. Render is a free hosting platform, similar to Heroku for static websites, web apps like Node.JS and more.
    Having a hard time deploying your app? I'll do it for you, pain free:
    ​codingwithcodebrah.com/deploy...
    Please like and comment if this helped you! I normally teach native iOS development with Swift so if you want to learn that please subscribe!
    Check out more Linux and server deployment videos here:
    • Linux & Server Tutorials
    Hire Me:
    www.fiverr.com/ios_solutions/...
  • Наука та технологія

КОМЕНТАРІ • 234

  • @Codebrah
    @Codebrah  Рік тому +8

    Having a hard time deploying your app?
    I'll do it for you, pain free: codingwithcodebrah.com/deploy-4-me

    • @kurdm1482
      @kurdm1482 4 місяці тому

      thanks, i didn't specify the process.env.port, so it didn't go live, but with that added it works flawlessly. thanks bra!

  • @Akiramenai04
    @Akiramenai04 Рік тому +4

    Thank You so much CodeBrah. Your channel name sounds like a hero who saves his county from some mischievous evil and you exactly did the same for me. Keep it Up !

  • @user-pe7ec2tz5f
    @user-pe7ec2tz5f Рік тому +2

    You are awesome man, I was mad with other UA-camrs tutorials. Keep going bro🔥🔥🔥

  • @trollpro0108
    @trollpro0108 9 місяців тому +2

    I love youuuuuu!!!!!!! After days of try and fail with other services, your video was my greenlight!!! Thanks for making the content

  • @brunobrasil3419
    @brunobrasil3419 2 місяці тому

    Just wanted to thank you and tell you that you deserve a bajillion subscribers. You have made my day! ❤

  • @SvitlanaYudina
    @SvitlanaYudina Рік тому +24

    Thank you very much!!!🥰
    You saved me and my backend!🥳
    Special thanks for the detailed description of what needs to be indicated in each field. I would not have thought of writing "npm install" in the BUILD COMMAND field. And thanks for the typescript! That you said that after the installation you need to write a TSC!
    You are a true professional. 😎Good luck to you!!!❤

  • @al-ft1ng
    @al-ft1ng Рік тому +2

    thank you a bunch man. Been tryna upload my damn app for a day, tried vercel netlify n so on none worked except for this

  • @stellanwae5050
    @stellanwae5050 5 місяців тому +2

    Thank you sooo much for having this video. Simply explained. Thank you!

  • @codingnerd609
    @codingnerd609 Рік тому +4

    it was my first time deploying .You made it easy thanks😁

  • @kush-cp8kc
    @kush-cp8kc Рік тому

    Thank you very much bro , I was searching for a alternate for a really long time , u saved my backend bro :)

  • @darkagent9457
    @darkagent9457 Рік тому +4

    Thank you much bro! You just helped me move my site to render, I was so depressed about heroku, god bless you!

  • @tommetcalf3082
    @tommetcalf3082 Рік тому +6

    Thanks for this. I was struggling to deploy a full stack app on Render. It was failing on the build, as I was trying npm build, but followed what you said about using npm install and it worked. Thanks for saving any further frustration!

  • @weggievillarante1029
    @weggievillarante1029 Рік тому +2

    Thank you so much. It helps me a lot. This super easy! Thank for a detailed instruction.

  • @DarshanJainStud
    @DarshanJainStud Рік тому +2

    Very short and crisp video. It helped me a lot. Thank you for creating such meaningful and easy content. Bhagwan Mahavir bless you.

  • @sujoyghosh7152
    @sujoyghosh7152 Рік тому

    thanks a lot for the video brother. after wasting 2hrs trying to install express on netlify, this video done it in 10mins.

  • @marvelzz25
    @marvelzz25 2 місяці тому

    Thanks ... I was searching for this for 3 hrs .

  • @jacerchetoui709
    @jacerchetoui709 Рік тому

    Thank you so much man you just saved all my projects !! this is so much better than heroku

  • @Dagoth90
    @Dagoth90 Рік тому +2

    Thanks man, needed this!

  • @andriikniaziev9242
    @andriikniaziev9242 Рік тому

    Thank you so much! It is the first time i deployed app by myself))

  • @pablofernandez1555
    @pablofernandez1555 Рік тому

    Thx bro. Instruction clear and simple

  • @lolwildriftbro
    @lolwildriftbro Рік тому

    Thanks Man! It was really helpful!

  • @playcode9750
    @playcode9750 6 місяців тому

    Thanks man. straight to the point.

  • @mnmmnnm8191
    @mnmmnnm8191 7 місяців тому

    im so grateful for your help

  • @charan6154
    @charan6154 Рік тому

    Thank's for the video man!! appreciate it

  • @amarjeetkumarsingh733
    @amarjeetkumarsingh733 Рік тому

    Thanks a lot...It helped me to deploy my full stack web app

  • @node_python_lover454
    @node_python_lover454 Рік тому

    very interesting service! Thanks for introducing it to us!

  • @darkielee9395
    @darkielee9395 10 місяців тому

    Thank you so much. This video is a life saver

  • @nsikansimon1939
    @nsikansimon1939 Рік тому

    Thanks for the explanation man!

  • @umeshkumarbedi7216
    @umeshkumarbedi7216 3 місяці тому

    Many Many Thanks. I was searching like that

  • @stan-beats
    @stan-beats Рік тому +1

    thank you dude god bless you you helped me so much

  • @ahmedfarooq7253
    @ahmedfarooq7253 Рік тому

    YOU ARE JUST AMAAZINGGG, YOU DESEVED 100000000000000M subsss, God Bless you bro

  • @jleonelpm
    @jleonelpm Рік тому +1

    Hey, my friend, you save me, was really useful. Regards

  • @GuilleAcosta124
    @GuilleAcosta124 Рік тому

    Thanks! worked like a champ!!

  • @kazisadman5142
    @kazisadman5142 5 місяців тому

    You saved a lot time. thank you🙌

  • @gocrazy6177
    @gocrazy6177 4 місяці тому

    Thanks man you saved my job

  • @rabbi8453
    @rabbi8453 Рік тому

    You just saved me. Thank you so much

  • @varvar3316
    @varvar3316 Рік тому +1

    Thank's man!!! You saved me! I had to quickly run with Heroku. Very on time and great service! God bless you! 🙏🙏🙏

    • @Codebrah
      @Codebrah  Рік тому +2

      God bless you aswell my friend!

    • @varvar3316
      @varvar3316 Рік тому +3

      @@Codebrah There is nothing to thank me for. Well, except for the fact that I'm raising 2 children. :)
      I fled my country because of injustice. I am over 50 years old. But in order to survive in a new place, I'm learning js.
      But people like you help us get out. You distribute knowledge to everyone. You are a good person and I am very grateful to you.
      I repeat once again - God bless you and good people like you who help people!

    • @andrewberrio7374
      @andrewberrio7374 Рік тому

      @@varvar3316 hey CodeBrah I can help you with anything you need I had been studying for one year on mern stack.

    • @adityasonakiya8864
      @adityasonakiya8864 Рік тому

      @@andrewberrio7374 can we deploy websites with socket use in them in render?

  • @holly6679
    @holly6679 Рік тому

    bro you are literally saving lives....thanks for the tutorial

  • @EmirFurkanBilici-ei2ru
    @EmirFurkanBilici-ei2ru 9 місяців тому

    Thank you, you saved my time!

  • @FGA-47
    @FGA-47 Рік тому

    thanks so much. that was really helpful

  • @CorlStream
    @CorlStream Рік тому

    Thanks for the video!
    Greetings from brazil :)

  • @DevelopmentLaboratory
    @DevelopmentLaboratory 2 місяці тому

    Thanks man, i am from Brazil ❤

  • @ddd99991
    @ddd99991 Рік тому

    Yo u should keep posting tutorials. I like your thumbnails

  • @mrcoder1822
    @mrcoder1822 7 місяців тому

    thank you so much bro easy and fast

  • @jhonacosta8450
    @jhonacosta8450 Рік тому

    very useful and compact. ty

  • @user-uy4sv9rd1v
    @user-uy4sv9rd1v Рік тому

    Thanks buddy it was a great help!

  • @horizon_uz
    @horizon_uz Рік тому

    thank you. My app working

  • @shashanktripathi1429
    @shashanktripathi1429 Рік тому +1

    i am getting module not found even though it is working perfectly on localhost ? please help

  • @anjaliverma7246
    @anjaliverma7246 11 місяців тому

    I deployed my node.js app on render but while adding query to url , it is not giving the expected output but when I am doing the same in local host, it is working.

  • @saurabhbisht2238
    @saurabhbisht2238 Рік тому +1

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

  • @thecodingbear
    @thecodingbear Рік тому

    Thank you very much 🙏🙏🙏🙏🙏 I'm just looking for this and it just suddenly appeared before me

  • @FirasMohamed96
    @FirasMohamed96 Рік тому

    it worked thanks!

  • @anonymous_hello
    @anonymous_hello Рік тому

    Thanks CodeBrah !

  • @andrews13
    @andrews13 3 місяці тому +1

    You saved my life!

  • @zeusintheg8719
    @zeusintheg8719 Рік тому

    Thanks man, thanks a lot!

  • @CaliGrace35
    @CaliGrace35 10 місяців тому +1

    I'm encountering an error "Error page not found" after successfully deploying on Render. It's returning "Page is not found" on browsers as well. Would you please help me out?

  • @jamesdouglas8401
    @jamesdouglas8401 Рік тому

    Great video man

  • @varuntyagi9610
    @varuntyagi9610 Місяць тому

    Thanks, brah.

  • @chaitanyapawar5483
    @chaitanyapawar5483 5 місяців тому

    Thank you so much!

  • @jotacedocarmo
    @jotacedocarmo Рік тому

    Hi Friend, I have an Angular application with webservice in Render with my application I create rooms and generate a code for each room, as when accessing this room in another browser I receive the message below: Failed to load resource: the server responded with a status of 404 () (Page Not Found) . Do you know what might have happened?

  • @johntony366
    @johntony366 Рік тому +18

    2:13 You don't need to delete the node_modules folder. Just create a .gitignore file and add "node_modules" to it. This will tell git to ignore it.

    • @omgavy
      @omgavy Рік тому +1

      LMAO
      He is doing his way leave poor the poor guy.

    • @starjohnson3040
      @starjohnson3040 Рік тому +2

      He explained you could create .gitignore file

  • @anandaj4764
    @anandaj4764 8 місяців тому

    Thank you really helpful

  • @hanifbahari6606
    @hanifbahari6606 Рік тому

    I have a Strapi app with a .nev file, what should I do with the .env if I want to deploy from Github? Isn't it better to deploy the app manually ?

  • @manuelbojorge5840
    @manuelbojorge5840 Рік тому

    Muchas gracias mop! Pura vida!!! lml

  • @jahidhasanjibon3982
    @jahidhasanjibon3982 Рік тому

    really help me a lot thank you so much.

  • @user-bh7tb1xj1r
    @user-bh7tb1xj1r 6 місяців тому

    Thank You!

  • @devmistry2607
    @devmistry2607 4 місяці тому

    thanks that worked for me :))

  • @dasithatharinda8503
    @dasithatharinda8503 Рік тому

    worked for me. thanks

  • @11Najim11
    @11Najim11 4 місяці тому

    give this man a cookie

  • @asprogramming120
    @asprogramming120 8 місяців тому

    how to install library or imagemagick ... etc system level software on render during deployment

  • @robvillalobos3370
    @robvillalobos3370 Рік тому

    Thank you so much! 🙂

  • @atgaming263
    @atgaming263 Рік тому

    I already deploy and the logs says connected to the server. But when i visit my site it's still 502. Is it need time to website can be access ?

  • @david_yuzhakov
    @david_yuzhakov 2 місяці тому

    thank you very mush!

  • @rohangangwar6604
    @rohangangwar6604 Рік тому

    how can it will be done using node why not use npm run and all ?? in the render scripts

  • @wantedshark5165
    @wantedshark5165 9 місяців тому

    thank you for the explain

  • @elads1712
    @elads1712 Рік тому

    how you connect the front end if the port changed?

  • @muhammedsinan3897
    @muhammedsinan3897 Рік тому

    thanks a ton..man..You literally saved my lifetime project from collapsing..

  • @nvcIT
    @nvcIT Місяць тому

    I'm having trouble connecting to the database while deloying. It gives me an error message like this "Error: connect ECONNREFUSED 127.0.0.1:3306" even though under my localhost the project still runs normally. Can you help? Can I explain this problem? Thank you very much.

  • @EdwardYambasu
    @EdwardYambasu 6 місяців тому

    Thanks so much bro

  • @thebrogrammer2077
    @thebrogrammer2077 Рік тому

    thanks codebrah you the best!

  • @jorgeloaiza3406
    @jorgeloaiza3406 Рік тому +1

    Good video. How can I deploy my project with React js and Node js when backend is inside frontend? How can I know my root directory?

  • @nicolotiraboschi
    @nicolotiraboschi 10 місяців тому +1

    If I want to deploy an eCommerce website and use it, can I stick with the free plan or should I upgrade? In that case, should I consider alternatives to Render, like Heroku?

  • @carlossuarez3666
    @carlossuarez3666 Рік тому

    Thanks, help me a lot

  • @juliancapponi2508
    @juliancapponi2508 Рік тому

    Hello, help! In my project I have tasks scheduled with node-cron. It gives me the following error when doing the deploy, I followed your steps as is.
    Mar 23 12:54:12 AM Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'node-cron' imported from /opt/render/project/src/src/index.js
    Mar 23 12:54:12 AM at packageResolve(internal/modules/esm/resolve.js:655:9)
    Mar 23 12:54:12 AM at moduleResolve (internal/modules/esm/resolve.js:696:18)
    Mar 23 12:54:12 AM at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:810:11)
    Mar 23 12:54:12 AM at Loader.resolve (internal/modules/esm/loader.js:88:40)
    Mar 23 12:54:12 AM at Loader.getModuleJob (internal/modules/esm/loader.js:241:28)
    Mar 23 12:54:12 AM at ModuleWrap. (internal/modules/esm/module_job.js:56:40)
    Mar 23 12:54:12 AM at link (internal/modules/esm/module_job.js:55:36) {
    Mar 23 12:54:12 AM code: 'ERR_MODULE_NOT_FOUND'

  • @gj_souls6738
    @gj_souls6738 Рік тому

    I never thought that Clint Eastwood would save me Haha, seriously man thanks a lot I always have problems hosting an application.

    • @Codebrah
      @Codebrah  Рік тому +1

      😂😂😂 no problem man. Glad I could help

  • @IAMWITHFLOW
    @IAMWITHFLOW Рік тому

    hey !! I am getting this error please help me .......🤕
    error mongoose@7.2.0: The engine "node" is incompatible with this module. Expected version ">=14.20.1". Got "14.17.0"

  • @penknaja6587
    @penknaja6587 Рік тому

    can you be able to config the .env file on the production ?

  • @ajaysan2765
    @ajaysan2765 9 місяців тому

    Thank you so much

  • @lolistrade3882
    @lolistrade3882 Рік тому

    you save me , thank you very much

  • @eissafaheem6062
    @eissafaheem6062 8 місяців тому

    I think there is a limit to api calls, If so then will socket events also exhaust this limit?

  • @VivekMittal-yv4ry
    @VivekMittal-yv4ry Рік тому

    It is showing "exited with status 7 while building your code". Pls help to deploy my app

  • @kazisamir123
    @kazisamir123 Рік тому +1

    can i deploy Backend express restApi on it

  • @LordPsychocutioner
    @LordPsychocutioner 4 місяці тому

    Can someone just tell me which github you used and what settings to use and which tags or codes to put in? I do not want to have my head chatted off for over 6 minutes when I could just do everything in under 1

  • @user-ii8no1yh9k
    @user-ii8no1yh9k Рік тому

    Thank you so much!!

  • @mohammedesa1651
    @mohammedesa1651 7 місяців тому

    Thanks for the vedio man

  • @krishna-nakum
    @krishna-nakum 10 місяців тому

    thanks alot for this video

  • @mahmoudhashim3720
    @mahmoudhashim3720 9 місяців тому

    Thank you.

  • @a.m386
    @a.m386 Рік тому

    Thank you very much.

  • @athulbabu8425
    @athulbabu8425 8 місяців тому

    Thankyou so much

  • @all_in_one4454
    @all_in_one4454 Рік тому

    Thanks alot brother hyfy from india