Deploy Node.js website on Heroku for Free

Поделиться
HTML-код
  • Опубликовано: 28 сен 2024
  • Today we are going to explore how to deploy a Nodejs website on Heroku for free. The project has to be non-commercial, but you can always upgrade to the paid plan if your project is business-focused.
    Code: raddy.dev/blog...
    ☕ BuyMeACoffee: www.buymeacoff...
    0:45 Introduction:
    2:57 Node.js Project Setup:
    2:57 Node.js Heroku Settings:
    4:28 Creating Heroku App:
    4:51 Uploading Node.js project to Heroku
    8:37 Ending
    Discounts:
    ⚡ Hostinger: www.hostg.xyz/...
    ⚡ Elementor: be.elementor.c...
    Recording Equipment:
    ◾ Microphone: amzn.to/3Ppp8Ok
    ◾ Shotgun Mic: amzn.to/3IVqIot
    ◾ Camera: amzn.to/3z0bxpF
    ◾ Lens: amzn.to/3Pw4s7d
    ◾ Lighting: amzn.to/3PGXvzW
    Computer Gear:
    ◾ Keyboard: amzn.to/3PGXvzW
    ◾ Headphones: amzn.to/3PJl9fg
    ◾ Mouse: amzn.to/3z1TGPf
    Connect with me:
    ◾ Website: www.raddy.dev
    ◾ Newsletter: www.raddy.co.u...
    #nodejs #heroku

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

  • @RaddyDev
    @RaddyDev  3 года назад +16

    What would you like to see next?

    • @anishjoshi1999
      @anishjoshi1999 3 года назад +1

      What is in the .env file ??

    • @RaddyDev
      @RaddyDev  3 года назад +1

      @@anishjoshi1999 that shouldn't be there haha. It was an API key for the NewsApi website

    • @anishjoshi1999
      @anishjoshi1999 3 года назад

      Explain MVC?

    • @DineshJayasiri
      @DineshJayasiri 3 года назад +1

      Angular production proxy config or solution for cros origin problems

    • @pravinpoudel1307
      @pravinpoudel1307 3 года назад

      cloning some web apps in react and node/express.

  • @ankit_kr_roy_4c_105
    @ankit_kr_roy_4c_105 3 года назад +24

    You look like real Madrid forward benzema😂😂😂😂😂😂😂😂😂...btw helpful vid👍👍

    • @RaddyDev
      @RaddyDev  3 года назад +1

      😂😂😂😂😂😂😂

  • @muhammadalarabi4180
    @muhammadalarabi4180 2 года назад

    for the past like 2 weeks I've been struggling only this Heroku staff couldn't find any answer and today was my last day as after today if it doesn't work I'm quitting but I don't know how I came to this video and the magic happened thanks, man, really thank you so much

  • @upzaiz8095
    @upzaiz8095 3 года назад +4

    Thanks.. This was really helpful for me. I deployed my application in 10 min right after watching this.
    Also need to mention that for the free version, in memory data will be erased if there is no in coming traffic for a particular time. (May be 30 min)

    • @RaddyDev
      @RaddyDev  3 года назад +1

      Good point. Glad that you found the video useful! Thanks for the comment

    • @akuakana7364
      @akuakana7364 2 года назад +2

      Ephemeral file system. Resets every 24 hours with traffic and with no traffic every 30 minutes.

  • @jcdsr1
    @jcdsr1 3 года назад +5

    Nice content, well done. However, you missed all the security implementation in expressjs and how to deploy as production and having an environment for testing. Will be nice to have this. On Heroku do we need to add DB on heroku plan? What about azure

    • @RaddyDev
      @RaddyDev  3 года назад +1

      Thank you. Yeah, there is tons more that can be covered. I guess once you get started you can always refer to the documentation.
      You can use their database functionality even on the free hobby plan if this is what you were asking.
      Azure is another beast, so it's Google cloud, AWS and so on... Plenty of options 🙂

  • @cesaremannino2774
    @cesaremannino2774 3 года назад +3

    Hi Raddy, next you could do a tutorial on how to deploy a node.js with MySQL database on Heroku! Thanks for all the cool videos.

    • @RaddyDev
      @RaddyDev  3 года назад

      Hey Cesare, thank you for the comment and I like the suggestion. I will add it to my list

  • @enricoperez9147
    @enricoperez9147 3 года назад +2

    is it just me or the audio and video are not synced?

    • @RaddyDev
      @RaddyDev  3 года назад +1

      You are right, the audio is out of sync. No idea why that would have happened as I would have noticed when I was editing the video

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

    In the Procfile you would have to use the actual name of your server file.

  • @coderlady_
    @coderlady_ 3 года назад +1

    I like the simplicity of your explanations, just subscribed :)

    • @RaddyDev
      @RaddyDev  3 года назад +1

      Thank you, CoderLady! I appreciate you subscribing

  • @ahmedmahmoodhameed2585
    @ahmedmahmoodhameed2585 3 года назад

    Thank you very much. Finally I deployed my website after week of suffering.

    • @RaddyDev
      @RaddyDev  3 года назад

      No pain, no gain 💪

  • @masterpc-9845x
    @masterpc-9845x 2 года назад

    I got an error when trying to open the app. I got this " Error: Cannot find module 'express' when I checked with heroku logs. What happened?

    • @RaddyDev
      @RaddyDev  2 года назад

      You need to add express as dependency to your project. Heroku install them via npm install so you need to have it listed in your package.json

    • @masterpc-9845x
      @masterpc-9845x 2 года назад

      @@RaddyDev I've fix it already. Thanks a lot!

  • @MohamedAbdulRaouf
    @MohamedAbdulRaouf 3 года назад +1

    man i liked your style and setup

    • @RaddyDev
      @RaddyDev  3 года назад +1

      Thank you, I appreciate it!

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

    Nice and straight forward thanks

  • @jessdeng9084
    @jessdeng9084 3 года назад +1

    If I want to make my API key as the privacy to .env file. So what should I make change on the get method newsAPI =? of news.js file?

    • @RaddyDev
      @RaddyDev  3 года назад +1

      You need to require dot env somewhere at the top of your app.js:
      require('dotenv').config()
      In your .env file you can add something like:
      APP_KEY = your API key
      And to use the variable in your application you would do something like:
      process.env.API_KEY
      I hope this helps

  • @jandesterke9608
    @jandesterke9608 3 года назад +4

    Maybe do an explanation on how to connect a domain to your heroku app so itt's ready to go live.

    • @RaddyDev
      @RaddyDev  3 года назад +1

      That's a good idea. I will do that, thank you

  • @pp.uta7
    @pp.uta7 3 года назад +1

    what about database ? can i use database in heroku ?

    • @RaddyDev
      @RaddyDev  3 года назад

      You can do. I believe that they have quite a few options

  • @zulianadryan686
    @zulianadryan686 2 года назад +1

    thank you mate, helped me a lot

  • @abubakirmahkamov
    @abubakirmahkamov 2 года назад +1

    Thank you .This video realy helps me

  • @scottisitt
    @scottisitt 3 года назад +3

    This is pretty confusing with the instructions not matching what's on the video... Still appreciate the explanation, though. 👍

    • @RaddyDev
      @RaddyDev  3 года назад +1

      I appreciate your comment. Unfortunately the instructions do change. I might have to update the article on my blog

  • @F1World2023
    @F1World2023 2 года назад

    After adding git add. So many statements come it's end less why is that so?

    • @RaddyDev
      @RaddyDev  2 года назад

      What do they say? Usually they are quite informative. Look at what the errors are and just look online how to solve them

  • @喜愛星光的米奇
    @喜愛星光的米奇 2 года назад

    Thank you very much!!!
    It's really useful and clear to follow your steps.

    • @RaddyDev
      @RaddyDev  2 года назад

      Glad to hear that. Thank you for the comment!

  • @alanbiju1751
    @alanbiju1751 3 года назад +1

    What to do if I have MySQL database connection with my node js project

    • @RaddyDev
      @RaddyDev  3 года назад +1

      Instead of localhost you could remote connect to it and it should still work

    • @alanbiju1751
      @alanbiju1751 3 года назад +1

      @@RaddyDevok thanks man

  • @blueandraedevera8084
    @blueandraedevera8084 2 года назад

    YOU GOT A NEW SUB. KEEP IT UP MAN

    • @RaddyDev
      @RaddyDev  2 года назад

      I appreciate it, Blue!

  • @ml-rj5pt
    @ml-rj5pt 10 месяцев назад

    Is it really free? One week after I deploy a sample app to Heroku, I suddenly got an email saying I got a charge - $1.23 for Application dynos. I don't remember what application dynos is.

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

      Heroku is no longer free. If you started on the free tier, they would have warned you that your instance will stop working. They won't just randomly start charging you (I don't think). You've signed up to their paid tier by the sound of it. Cyclic and Render have free plans that you could try

  • @morososaas3397
    @morososaas3397 3 года назад

    If your package.json is not in the root directory. It cannot do this.

    • @RaddyDev
      @RaddyDev  3 года назад

      Thanks for the comment, Moroso! 🙂

  • @abbg1436
    @abbg1436 Год назад +2

    Thanks !!!!!

  • @marcosanna8039
    @marcosanna8039 3 года назад

    great video man, you've earned a sub! Keep it up

    • @RaddyDev
      @RaddyDev  3 года назад

      Thanks for the sub!

  • @CarpMasterFishing
    @CarpMasterFishing 2 года назад

    Hi Raddy!
    Thank you for your tutorial, working perfectly! I have one question for you. Is it possible to do, that on heroku save the upload file permamently? Because I have a nodejs website, where I have an image upload page, heroku save the image, but after a few hours, i see only blank images.

    • @RaddyDev
      @RaddyDev  2 года назад +1

      Hey, I am glad that it worked. I just had a look and you are right.
      "Each dyno gets its own ephemeral filesystem, with a fresh copy of the most recently deployed code. During the dyno’s lifetime its running processes can use the filesystem as a temporary scratchpad, but no files that are written are visible to processes in any other dyno and any files written will be discarded the moment the dyno is stopped or restarted."
      You might have to use Cloud Storage. Companies such as Google, Amazon& IBM offer cloud storage. There might be something cheap or even free out there. I've only used Heroku for basic websites and I didn't realise that they reset the files.

    • @CarpMasterFishing
      @CarpMasterFishing 2 года назад

      @@RaddyDev thank you for your answer! i will try to fix it with cloud storage, if not working, then I need to deploy on a paid server. Sure, for basic website is a very good alternative to try your website on server for free! :)

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

    Would I need to create a new repository and just move the code over from the old one to make this work, or can I do it with an already existing repo

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

      Already existing repo is fine

  • @ryan_roga
    @ryan_roga 2 года назад

    Do you still need a Procfile in 2022? 🤔

    • @RaddyDev
      @RaddyDev  2 года назад

      Nope. The setup now is fairly straightforward

  • @iman8120
    @iman8120 3 года назад

    Can I deploy web socket project in heroku?

  • @shubhanshusahuu
    @shubhanshusahuu 3 года назад

    Deployed successfully but it is showing Application error "An error occurred in the application and your page could not be served.

    • @RaddyDev
      @RaddyDev  3 года назад

      Check to see if you are using process.env.PORT instead of hand-coding it

    • @shubhanshusahuu
      @shubhanshusahuu 3 года назад

      @@RaddyDev i am using first one and pipe sign then 3000 port number

    • @RaddyDev
      @RaddyDev  3 года назад

      This looks just like your problem: github.com/StartBootstrap/startbootstrap-freelancer/issues/89
      Hopefully the answer on there will help

    • @shubhanshusahuu
      @shubhanshusahuu 3 года назад

      @@RaddyDev i got that
      I putted a white space after web in Procfile, now i removed it and it worked👍

  • @Bartman2Dilaw
    @Bartman2Dilaw 2 года назад

    Hi Raddy,
    Thanks for sharing, it will be helpful.
    Unfortunately, the "local" and remote (heroku) versions do not work. I am indeed not getting any record on the "/" route
    In "local" I get "no posts found" but no error on console.
    On the "heroku" version, I get an error on the heroku console of the project:
    "Error connect ECONNREFUSED 94.136.40.82:443"
    I don't know what to do.
    Thanks for your help
    Alain

    • @RaddyDev
      @RaddyDev  2 года назад +1

      Hi Alain, thanks for the comment. I know what the problem is. A few days ago I changed my domain name and hosting IP address. Unfortunately I had a few issues with my domain and I couldn't do a re-direct on the same day. The redirect should work now and you won't get the error. Alternatively you can try raddy.dev. Saying this I do have some firewall protection in place which could also block access. It has happened once.
      Hopefully it will just work now, but I will make a note for other people

    • @Bartman2Dilaw
      @Bartman2Dilaw 2 года назад

      @@RaddyDev Thank you. I've already tried the raddy.dev link without success as far as I remember. I'll try again later and let you know

    • @RaddyDev
      @RaddyDev  2 года назад

      Okay let me know. It might be my firewall... You can try pretty much any WordPress website that has their rest API open

  • @mohammedshafin7399
    @mohammedshafin7399 2 года назад +1

    Thanks

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

    Heroku free dyno will no longer available on November 28 sad/

    • @RaddyDev
      @RaddyDev  Год назад +2

      That's a shame... we need to find a good alternative

  • @jpjapos2427
    @jpjapos2427 3 года назад

    What's that file with .env extension. I'm having an application error

    • @RaddyDev
      @RaddyDev  3 года назад

      .env holds environment variables. In this example, we are storing our database host, user, and password. You can store all sorts of stuff in there. I actually just done a full tutorial on .env if you want to check it out. It's one of the last videos that I've done

  • @rudocourtneytogara6791
    @rudocourtneytogara6791 2 года назад

    Thank you so much!

  • @hayatokoyama4034
    @hayatokoyama4034 2 года назад

    Thank you !! amazing

  • @zeyadalbadawy2245
    @zeyadalbadawy2245 2 года назад

    reach 96% and didn't complete
    why is that ?

    • @RaddyDev
      @RaddyDev  2 года назад

      You have to check the error logs in Heroku and they will tell you. It might give you an error code that you can google

  • @thanosx5190
    @thanosx5190 3 года назад

    i am getting a h10 error for get and post requests and my website has been crashed can you please help me out with this

    • @RaddyDev
      @RaddyDev  3 года назад

      It could be a number of things. Have a look at this article by Lawrence Eagles: dev [dot] to/lawrence_eagles/causes-of-heroku-h10-app-crashed-error-and-how-to-solve-them-3jnl

    • @thanosx5190
      @thanosx5190 3 года назад +1

      @@RaddyDev thanks pal

  • @ratefiarisonharivonylalati3873
    @ratefiarisonharivonylalati3873 2 года назад

    Bro, your pic hide all the command

    • @RaddyDev
      @RaddyDev  2 года назад

      Yep... mistakes were made there... I don't record my head now :-D

  • @knowledgezone5399
    @knowledgezone5399 2 года назад

    It will not work after 30 minutes inactive status

    • @RaddyDev
      @RaddyDev  2 года назад

      You mean that the app goes to sleep after 30 min of inactivity? That's pretty normal and I guess it's a good thing in terms of saving resources.
      You can ping your website every 15 min or so if you like and that won't happen. Or get some visitors on your website :)

  • @govindjain424
    @govindjain424 2 года назад

    Thanks, it was a great tutorial. But you missed one thing to install git. I was not having git and it created some problem.

    • @RaddyDev
      @RaddyDev  2 года назад

      It really didn't cross my mind... thanks for letting me know, I will have to put a note on the video

  • @checkerface5710
    @checkerface5710 2 года назад

    wait is heroku like github ?

    • @RaddyDev
      @RaddyDev  2 года назад

      It's a little bit different. You can pretty much deploy projects in most languages and also manage data services. You can pick any database and get it installed fairly easy.
      I am not sure if you could run a node js project on github... I think that you can only have static web pages?

  • @stepanvalerivich6999
    @stepanvalerivich6999 3 года назад

    you're a lifesaver

  • @otonielcarlos2099
    @otonielcarlos2099 3 года назад

    Whats your vs code template? looks clean

    • @RaddyDev
      @RaddyDev  3 года назад

      Hi Otoniel, it's called Dracula 🧛‍♂️

    • @otonielcarlos2099
      @otonielcarlos2099 3 года назад

      @@RaddyDev Nice I just installed it and its fire. thanks!

  • @5555aramacomom
    @5555aramacomom 2 года назад

    Merci. T'es un mec bien

  • @par4ll4x15
    @par4ll4x15 2 года назад

    Thank you sir

  • @neresneres6083
    @neresneres6083 2 года назад

    Thanks!!!

  • @ayoubomari1347
    @ayoubomari1347 3 года назад

    thank you very much

    • @RaddyDev
      @RaddyDev  3 года назад +1

      I hope that it was helpful. Thank you 👊😎

  • @b-13prathameshpawar62
    @b-13prathameshpawar62 2 года назад

    Thank U

  • @jatilyadav4000
    @jatilyadav4000 2 года назад

    thank you soo much sir...........

    • @RaddyDev
      @RaddyDev  2 года назад

      Thank you, Jatil!

  • @ricardoalvarez4976
    @ricardoalvarez4976 2 года назад

    what the hell is in your .env this shit is not working for me

    • @RaddyDev
      @RaddyDev  2 года назад

      What error do you get? You can follow the new instructions on Heroku if this still doesn't work. I think that there are 4 fairly simple steps

    • @ricardoalvarez4976
      @ricardoalvarez4976 2 года назад

      @@RaddyDev hi, I finally made it by connecting my github repository, I'm sorry for the bad words, yesterday I was very upset :/

  • @stephenselvaraj8960
    @stephenselvaraj8960 2 года назад

    Super :)

  • @theojubard5736
    @theojubard5736 2 года назад

    merci bro

  • @noone8923
    @noone8923 3 года назад

    cannot GET /

    • @RaddyDev
      @RaddyDev  3 года назад

      Create a router. You probably haven't got one

    • @libertydaniel6366
      @libertydaniel6366 2 года назад

      Did you manage to finish the error because I'm facing the same thing

    • @RaddyDev
      @RaddyDev  2 года назад

      You probably haven't got that route created in your application

  • @anishjoshi1999
    @anishjoshi1999 3 года назад

    love from nepal

    • @RaddyDev
      @RaddyDev  3 года назад +1

      Thank you 👊🦍

  • @chickhicks0
    @chickhicks0 3 года назад

    KACHIGGA

    • @chickhicks0
      @chickhicks0 3 года назад

      calm down pls, you talk too fast :(

    • @chickhicks0
      @chickhicks0 3 года назад

      oh sorry i had two time speed on xDD my bad

    • @Naruto-lw9xf
      @Naruto-lw9xf 3 года назад

      @@chickhicks0 shut up NO he is talking too slow!!

    • @Naruto-lw9xf
      @Naruto-lw9xf 3 года назад

      oh i had zero point five speed on LOL

    • @antibullyranger8789
      @antibullyranger8789 3 года назад

      @@Naruto-lw9xf ????

  • @ldstudio3044
    @ldstudio3044 3 года назад

    merci

    • @RaddyDev
      @RaddyDev  3 года назад +1

      Thank you for watching

  • @suyashsuryavanshi5225
    @suyashsuryavanshi5225 2 года назад

    START reactjs

  • @ivicajelavic1612
    @ivicajelavic1612 2 года назад

    :)

  • @AcoreGaming_YT
    @AcoreGaming_YT 2 года назад

    Copy & Paste BENZEMA 😂

    • @RaddyDev
      @RaddyDev  2 года назад +1

      I have to get a Real Madrid t-shirt 😂

  • @nerdiloo9863
    @nerdiloo9863 3 года назад +3

    Cool - just a reminder that if you should add node modules f(and any other files that aren't used in the final build) to the git ignore file. That way all that stuff won't be uploaded.

  • @ChaeRi9
    @ChaeRi9 2 года назад +1

    Thanks bro

  • @AroundTheScene
    @AroundTheScene 2 года назад +1

    Thanks, I missed the Procfile!

    • @RaddyDev
      @RaddyDev  2 года назад +1

      There was a way to make it work without the Procfile. If it works, don't fix it :-D

  • @Kaiz__
    @Kaiz__ 2 года назад +1

    Thank's for the tutorial, still working in 2022 :)

    • @RaddyDev
      @RaddyDev  2 года назад +1

      That's always good to hear

  • @shauryaagarwal4689
    @shauryaagarwal4689 3 года назад +1

    Can anyone please help me!!!
    I'm not able to use the git command in my vs code.
    It's showing that 'git' command cannot is not recognized.

    • @RaddyDev
      @RaddyDev  3 года назад +1

      Try installing Git if you havent

    • @shauryaagarwal4689
      @shauryaagarwal4689 3 года назад

      @@RaddyDev Thanks.
      Worked!!!!!

    • @RaddyDev
      @RaddyDev  3 года назад

      @@shauryaagarwal4689 that's awesome!

  • @nguyenuc9135
    @nguyenuc9135 2 года назад

    i try do like your tutorial. But when i open app with heroku, on page show this message: Upgrade Required. Tell me what's it and how to fix! my project is websocket server.

    • @RaddyDev
      @RaddyDev  2 года назад

      I am not sure what it could be. Did you not find anything on the web?

  • @zkp143_
    @zkp143_ 2 года назад

    How to update npm on heruko ? Had deployed a project. But shows npm have a major update. Update to 8.... Vers. So how can i do ? Did i want to edit in project through git ? Or any other way ?

    • @RaddyDev
      @RaddyDev  2 года назад

      If you want to update your npm packages I would first test locally and then reupload. You can probably do it with the CLI, but I haven't tested it. It might be the case of doing npm update

  • @jatilyadav4000
    @jatilyadav4000 2 года назад

    you are best....love from India

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

    it is not free anymore :

  • @rayarozen
    @rayarozen 2 года назад

    error: failed to push some refs to....

    • @RaddyDev
      @RaddyDev  2 года назад

      You probably haven't committed. git commit -m 'message'

  • @salihhasan9662
    @salihhasan9662 2 года назад

    Heroku guy 👍👍👍👍

  • @njohbless2580
    @njohbless2580 7 месяцев назад

    does the site all you to host website for free with a domain name and hosting ?

    • @RaddyDev
      @RaddyDev  7 месяцев назад

      Try Render as I don't think that this is free anymore

  • @eliaserbenjamin6892
    @eliaserbenjamin6892 3 года назад +1

    Struggling to install cli for Mac on Command line, help?

    • @RaddyDev
      @RaddyDev  3 года назад

      First, you have to get Homebrew which is a package manager for macOS & Linux. Go their page brew.sh and install it. They have one command installation. Once you do this, try Heroku CLI again. I hope that this works!

  • @macos-brasil1814
    @macos-brasil1814 2 года назад

    HUNDREDS OF THOUSANDS OF LIKES! Thanks

    • @RaddyDev
      @RaddyDev  2 года назад

      I appreciate you!

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

    what if the running file is in a subfolder

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

      in your package.json file, you can specify the subfolder and it should be fine

  • @uploadvoice
    @uploadvoice 3 года назад +1

    Great video !
    Btw what are the limitations for the free plan ?

    • @RaddyDev
      @RaddyDev  3 года назад +2

      The free plan is for non-commercial apps, such as proof of concepts, MVP's, and personal projects

  • @simba4572
    @simba4572 3 года назад

    why is it soo easy

    • @RaddyDev
      @RaddyDev  3 года назад

      I made it look easy 😎 lol

  • @Pranauv
    @Pranauv 2 года назад

    im always getting port not binding error!!! pls help anybody .. i have tried literally everything but none are working!

    • @RaddyDev
      @RaddyDev  2 года назад

      Heroku automatically assigns the port number. So what you have to do is this:
      .listen(process.env.PORT || 5000)

    • @Pranauv
      @Pranauv 2 года назад

      @@RaddyDev I've tried that too... It isn't working 😶

    • @RaddyDev
      @RaddyDev  2 года назад

      @@Pranauv In the logs can you see an error code? Usually you can google that and hopefully find the answer. I am not sure what else it could be

    • @Pranauv
      @Pranauv 2 года назад

      @@RaddyDev ok thanks

  • @Husseinfaqih
    @Husseinfaqih 2 года назад

    Cheers Mate!

    • @RaddyDev
      @RaddyDev  2 года назад

      Thank you for watching!

  • @deepakajay4204
    @deepakajay4204 2 года назад

    Thank you

    • @RaddyDev
      @RaddyDev  2 года назад

      Thank you for watching!

  • @ahmedayman7626
    @ahmedayman7626 2 года назад

    Thanks :)

    • @RaddyDev
      @RaddyDev  2 года назад

      Thank you for watching!

  • @aasthajha1051
    @aasthajha1051 3 года назад

    hey! I'm having links on my web pages that when clicked open a new ejs web page. It work totally fine in local server.But when hosted on heroku it give error that is Application error and unable to open the ejs page when click on the links

    • @RaddyDev
      @RaddyDev  3 года назад

      Hey, Aastha! It sounds like it could be the path to your files. It's obviously finding the pages locally, but for some reason not on heroku. You could set a static folder to be used if you haven't done that. Anyway, double check your path

  • @GalileoBTC
    @GalileoBTC 2 года назад

    thanks for your help, dude!

  • @jkrmarmol
    @jkrmarmol 2 года назад

    galit ka po ba

  • @RurouniKenshinShinta
    @RurouniKenshinShinta 2 года назад

    Holy shit! You are a legend! This finally worked for me after trying to troubleshoot an error for an hour and half. Thanks!

    • @RaddyDev
      @RaddyDev  2 года назад

      Glad that you found it helpful, Kintsugi. Thank you for watching!

  • @csy897
    @csy897 3 года назад +1

    Short and easy to follow. Thanks!

    • @RaddyDev
      @RaddyDev  3 года назад

      Thank you for watching!

  • @rasulakhundov500
    @rasulakhundov500 2 года назад

    Thank you so much

  • @jamesmassa1999
    @jamesmassa1999 3 года назад

    Thank You for taking the time to produce this video, this was helpful.
    Oh, and get a haircut you, hippie!
    Best

  • @darktools186
    @darktools186 2 года назад

    Is it secure ? I have sensible information in my node js files

    • @RaddyDev
      @RaddyDev  2 года назад

      As far as I know it's secure. Heroku is pretty big

    • @darktools186
      @darktools186 2 года назад

      @@RaddyDev how can I update my git ?

    • @RaddyDev
      @RaddyDev  2 года назад +1

      @@darktools186 on windows you can do "git update" or "git update-git-for-windows" and on Linux you can do "sudo apt-get update" and then "sudo apt-get install git". I am not so sure about mac os. Also I do want to mention that storing sensitive information in your nodejs files might not be a good idea. Maybe use .env or some of the paid services. Just be careful that's all. Don't publish your nodejs project on github with all of the sensitive information that you are talking about. Other than that Heroku is a pretty well known service and in general people really like it. Shame that they are closing down their free tier...

    • @darktools186
      @darktools186 2 года назад

      @@RaddyDev thank you bro. Amazing video btw

  • @Dcooper676
    @Dcooper676 2 года назад

    wowo wowowo i can't express myself, i am trying from yesterday but i didn't find a tutorial like this!!!!!

    • @RaddyDev
      @RaddyDev  2 года назад

      Glad that you like the video. Thanks for the comment!

  • @alec3979
    @alec3979 2 года назад

    Thank you! 👏

    • @RaddyDev
      @RaddyDev  2 года назад +1

      Thank you for watching! High five 🖐😎

    • @alec3979
      @alec3979 2 года назад

      @@RaddyDev 🖐️😎

  • @benkimtai5995
    @benkimtai5995 2 года назад

    Pretty simple. I am Grateful

  • @ABHAYSINGH-ch1vn
    @ABHAYSINGH-ch1vn 2 года назад

    Dude u solved my 6hrs long problem in just 8 mins and 39 secs
    Thank You so muchhh!!!!!!

    • @RaddyDev
      @RaddyDev  2 года назад +1

      Glad to hear that the video was helpful!

  • @hidezet
    @hidezet 2 года назад

    Thank you for kind video! I am heroku deploy-possible person now! :-)

    • @RaddyDev
      @RaddyDev  2 года назад

      I love it! Thanks for the comment, Juan

  • @nahidkarimankur4828
    @nahidkarimankur4828 3 года назад

    Thank you man! Subscribe done

    • @RaddyDev
      @RaddyDev  3 года назад +1

      Thanks for the support, brother! 👊🦍

  • @diyahanggraini8461
    @diyahanggraini8461 2 года назад

    thank you so muchh, you save my day!!!!

    • @RaddyDev
      @RaddyDev  2 года назад

      Any time, Diyah!

  • @libertydaniel6366
    @libertydaniel6366 2 года назад

    How can I solve error in heroku cannot GET/

    • @RaddyDev
      @RaddyDev  2 года назад

      Create a router for the page. Make sure that your project is working locally first and then you can upload

    • @libertydaniel6366
      @libertydaniel6366 2 года назад

      @@RaddyDev it's working locally. Like everything is well i even refactoring my code. Like to put the GET / route nut it's still the same

    • @RaddyDev
      @RaddyDev  2 года назад

      That's really strange. You could check in the Heroku logs to see if there are any errors. Is your project public on GitHub? It could be something small

    • @libertydaniel6366
      @libertydaniel6366 2 года назад +1

      @@RaddyDev I found the error it's refusing to send my react file when on heroku but in local dev it's working perfectly. This the error I get ..Error: ENOENT: no such file or directory, stat '/build/index.html'

    • @RaddyDev
      @RaddyDev  2 года назад

      @@libertydaniel6366 So I wound assume that you just need to build your project and then upload. Glad that you spotted that

  • @pushkarjain2494
    @pushkarjain2494 2 года назад

    Spot on explanation

    • @RaddyDev
      @RaddyDev  2 года назад

      Glad you liked it