Best Alternatives To Heroku For hosting a NodeJS app for FREE

Sdílet
Vložit
  • čas přidán 27. 11. 2022
  • I narrowed down the Node.Js hosting platforms I found to be the easiest to use. Both have similar specs on their free tier but note that free tiers usually have some limitations.
    ☕ BuyMeACoffee: www.buymeacoffee.com/RaddyThe...
    Project: bit.ly/3u28awp
    app.cyclic.sh/#/join/RaddyThe...
    render.com/
    Discounts:
    ⚡ Hostinger: www.hostg.xyz/aff_c?offer_id=...
    ⚡ Elementor: be.elementor.com/visit/?bta=2...
    Recording Equipment:
    ◾ Microphone: amzn.to/3uX0yvP
    ◾ Shotgun Mic: amzn.to/3aRsSJb
    ◾ Camera: amzn.to/3IMumkx
    ◾ Lens: amzn.to/3ARxvh8
    ◾ Lighting: amzn.to/3PBetj2
    Computer Gear:
    ◾ Keyboard: amzn.to/3RCXRcC
    ◾ Headphones: amzn.to/3aIvskX
    ◾ Mouse: amzn.to/3UcY9ah
    Connect with me:
    ◾ Website: www.raddy.dev
    ◾ Newsletter: www.raddy.co.uk/newsletter
    Credit:
    Video by Pavel Danilyuk: www.pexels.com/video/a-person...
    Video by Tima Miroshnichenko: www.pexels.com/video/a-woman-...
    Video by Mikhail Nilov: www.pexels.com/video/a-person...
    Video by Pressmaster: www.pexels.com/video/digital-...

Komentáře • 133

  • @RaddyDev
    @RaddyDev  Před rokem +10

    I am curious about which platform you're going to be using and why?

    • @tsreenivas6550
      @tsreenivas6550 Před rokem +6

      i am using Cyclic

    • @olusegunlight3190
      @olusegunlight3190 Před rokem +3

      Cyclic

    • @withpikachu2402
      @withpikachu2402 Před rokem +1

      Just using hosting service. Deployment was much harder but it was ok once I did it

    • @Sameer.Trivedi
      @Sameer.Trivedi Před 9 měsíci +1

      I hated renders spinning down of projects, When I shared my project people would tell I cannot see anything, so I switched the backend to cyclic.

    • @jayedwards7520
      @jayedwards7520 Před 8 měsíci

      cyclic, unfortunately, doesn't work well with django. I gave it a whirl but it's features just aren't mature enough right now and it doesn't really offer the kind of support for non-NodeJS driven BE. If I have to massively modify my codebase (which runs quite well on render) to drive it on cyclic then it isn't saving me time unfortunately.

  • @kartikgupta5566
    @kartikgupta5566 Před 9 měsíci

    such amazing content the first pic showing difference between cyclic and render was enough to free my worries, I had previously hosted on render but due to inactivity delay i didn't like it, looks liky cyclic will perform better, thanks saved my time.

  • @olusegunlight3190
    @olusegunlight3190 Před rokem

    A big thank you!! cyclic worked fine without no issues, was struggling with vercel then stumbled on your video. A big thanks to you bro!

  • @edutech8909
    @edutech8909 Před rokem +2

    Thanks a lot, I was already getting confused on setting up using Render. But this explained really well and has helped me deploy. Thanks a lot! you earned another subscriber ;)

  • @challapavankumar5929
    @challapavankumar5929 Před rokem +1

    thankyou so much bro! i wasted 1 hr on unwanted sites but cyclic worked on 1st time .

  • @hamras2012
    @hamras2012 Před rokem +1

    Thanks man 🎉 Worth it

  • @PranavKJha
    @PranavKJha Před 6 měsíci

    This is precisely what I was searching for.

  • @codefoxx
    @codefoxx Před rokem +1

    I was about to recommend cyclic and that was the first one on your list haha

  • @khalidmohammedet
    @khalidmohammedet Před rokem

    Thank you, It was very useful!

  • @iagosilva5064
    @iagosilva5064 Před 3 měsíci

    great video man, two amazing options

  • @muhammadmudassirsiddiqui3030

    It is much needed, thanks man

  • @djibrilm__-
    @djibrilm__- Před rokem

    thanks for the video finally I can deploy something for my portfolio thanks again.

  • @udbhavvikramsingh3449
    @udbhavvikramsingh3449 Před rokem +1

    Much needed 🎉

  • @ClubDeGanadores1
    @ClubDeGanadores1 Před rokem

    thank you so much for helping, had a really hard time with Heroku, It was asking for $$$, New subscriber!

  • @christopheradolphe
    @christopheradolphe Před rokem +3

    I recently complete a Node.js course and wanted to build a side project to put the knowledge into practice. However, I was still wondering were I could host my REST API application and your video shows up my YT feed. Many thanks.

    • @RaddyDev
      @RaddyDev  Před rokem +1

      Congrats and good luck with the side project!

  • @splendedspirit8626
    @splendedspirit8626 Před 4 měsíci

    great video man, no one else made any video on cyclic or render

  • @nurhanisdamia7947
    @nurhanisdamia7947 Před rokem +1

    very much needed! thank you TT^TT

  • @PassionateVideography
    @PassionateVideography Před 10 měsíci

    Thanks brother this is amazing video keep posting videos. Great Content

    • @RaddyDev
      @RaddyDev  Před 10 měsíci +1

      I appreciate the comment brother

  • @ArushaAscendExpeditions

    Thanks man, This helps a lot

  • @rafaelmacedo7155
    @rafaelmacedo7155 Před rokem

    Thank you so much for share with us Bro.

  • @abhishekT700
    @abhishekT700 Před 6 měsíci

    For me thr Render worked
    I think the Cyclic didnt worked because am using the EJS.
    Well thanks a lot mate
    U earned a sub
    Nice work

  • @spliffys303
    @spliffys303 Před rokem +3

    I've started to use Netlify which has a free tier. Mainly using this because our company does. Only frustration is the structure of my code needs to change because of how netlify functions work. So there's a little bit of a learning curve but not a bad thing!

    • @RaddyDev
      @RaddyDev  Před rokem +1

      I've head good things about Netlify, I need to try it. The platforms I mentioned are the same... I made a NodeJs project using MongoDB and I had to restructure my code to the way they do it to make it work. Not a big deal as you said

    • @swarooppatil10
      @swarooppatil10 Před rokem

      Ho brother could u please suggest me some youtube video for hosting Nodejs app on Netlify

    • @PRITESHKRSRV
      @PRITESHKRSRV Před 11 měsíci

      Hi bro/sis, I have tried many times to host my app.js node js file which includes routes to render html files but after deployment on netlify it always shows 404 error file can't be found.
      Can you tell me please what changes should I do for proper deployment

  • @srikanthambaldhage5264
    @srikanthambaldhage5264 Před rokem +4

    Thank you very much Raddy. What if I want to host a fullstack application with database too. Can you please make one videos on this!

  • @valenciawalker6498
    @valenciawalker6498 Před 5 měsíci

    Thank you

  • @sarahahmed2112
    @sarahahmed2112 Před rokem

    Thanks for the video. I need to deploy my MySQL database to work with the nodejsapp. Do you have recommendations for good mysql hosting platforms? It doesn't have to be completely free, because I know that would mean very low security, but my database isn't huge and I don't need exceptional security - if there's a good cheap option out there I'd like to know.

    • @RaddyDev
      @RaddyDev  Před rokem

      If you want to have them in one place, maybe Heroku or Render. Supabase is a popular PostgreSQL option worth exploring

  • @MiguelVarona-uj2mm
    @MiguelVarona-uj2mm Před měsícem +1

    Cyclic is not available for new registrations.

  • @ponmuthu..4796
    @ponmuthu..4796 Před 2 měsíci +1

    Great tutorial

  • @patobeur41
    @patobeur41 Před 7 měsíci +1

    thx

  • @regd9297
    @regd9297 Před rokem

    Is it better to deploy your front and backend separately, or deploy them together ?

    • @RaddyDev
      @RaddyDev  Před rokem

      I can't say if it's better or worse, but its more modern to do them separately. Most people use a front end framework like Angular or React and everything is separate.

  • @nguyenhoangnhutanhk16_hcm64
    @nguyenhoangnhutanhk16_hcm64 Před 3 měsíci +1

    tks bro

  • @muhammadrasul1581
    @muhammadrasul1581 Před 11 měsíci

    i have a question regards hosting and its for database, how can i get the data saved in the database to my pc, i want to host my api but the data is very sensitive and i want to save them into my pc when there was a data in the database, another question i have is, i have only made an api and used express js, but i dont have a website services because the whole api is serving in a REST kind of situation, in that case what should i do?

    • @RaddyDev
      @RaddyDev  Před 11 měsíci

      You can get a local database. You can install MongoDB locally or pretty much any SQL database of your choice. It would be a matter of transferring the data... I don't know your use case to answer the second question. I guess you can create a website and display the data from your API... Why did you create the Rest API? What was the plan behind it?

  • @anyflix131
    @anyflix131 Před rokem

    I might be late to ask byt can you tell are there any platform like cyclic but more app I can host

    • @RaddyDev
      @RaddyDev  Před rokem

      That would be Render dot com

  • @arjun_vinod
    @arjun_vinod Před 3 dny

    In my app I've used mongoDB locally (compass). So for hosting on render, how can I upload it to the cloud?

    • @RaddyDev
      @RaddyDev  Před 3 dny +1

      Get a MongoDB atlas account. If you are just starting out the free tier will work absolutely find for you. I still use the free tier on a couple of projects and I never had to update. Then use the connection string they give you in your application when you deploy on Render. To migrate the data, you can simply export it from compass, and import in MongoDB Atlas. You might have to create the tables manually, but it's easy to do, and then you insert the data

  • @geekinactionn
    @geekinactionn Před 11 měsíci

    Do I need to have my server in separate project from my frontend stuff?

    • @RaddyDev
      @RaddyDev  Před 11 měsíci

      It's up to you. You can have them in one folder like that:
      Project Folder
      - Server (NodeJs)
      -- index.js
      -Client (Something)
      -- index.html
      There is also another option, called Monorepo. I just don't know if all platforms have that option when it comes to deployment (possibly)

  • @iliyalim9943
    @iliyalim9943 Před 5 měsíci

    does anyone know how to deploy a nodejs app without revealing sensitive data? data inside the dotenv file

    • @RaddyDev
      @RaddyDev  Před 5 měsíci

      Don't upload your .env file on Github, make sure that your server is secure and try to rotate your keys. Depending on the service you use, you can also restrict the use of the key and add usage limits. If you want to go deep, you could look into AWS Secrets Manager and Google Cloud Secret Manager.

  • @respectculture9959
    @respectculture9959 Před rokem

    how about the database such as sql? where i can host it?

    • @RaddyDev
      @RaddyDev  Před rokem

      You could try Supabase. They have a fairly generous free tier. Are you after a free one? You could get a cheap VPS and install whatever you want on it

  • @harishkumark9010
    @harishkumark9010 Před 5 měsíci

    render works good for me

  • @maisamhussaintoorie7119
    @maisamhussaintoorie7119 Před 11 měsíci +2

    My project is built with ejs template and the directory of my project looks something like
    Main Project
    node_modules/
    public (having css only)
    view (ejs files)/
    app.js
    date.js
    package.json
    package-lock.json
    Question is will this work In such a structure of the project or not because I try to deploy it to firebase and netlify but it failed to show the page. Please 🙏 guide

    • @RaddyDev
      @RaddyDev  Před 11 měsíci +1

      You won't be able to deploy a NodeJS project on those platforms. It has nothing to do with your project file structure, but the actual hosting provider. I believe that both Firebase and Netlify are for Static Sites only (JAMSTACK) which means no processing on the server with exception of serverless functions. You'll need a web service provider for NodeJs. The good free ones that I know of are Cyclic sh and Render. The free tiers are great for hobby projects and you can always upgrade if you need to. Luckily most platforms are fairly affordable now. With a budget of ~$5/mo you have a lot of options. Cyclic, Render, Heroku or even build your own VPS. Alternatively you can convert your website to a static website. I hope this helps

    • @maisamhussaintoorie7119
      @maisamhussaintoorie7119 Před 11 měsíci

      @@RaddyDev So will my project be deployed to cyclic sh accurately with ejs template as you directed in the video?

    • @RaddyDev
      @RaddyDev  Před 11 měsíci

      @@maisamhussaintoorie7119 EJS will work, but the problem you might face is that everything is counted as a request. If you have 2 images on your site, that's 2 requests gone. You could host your files elsewhere, an example would be Amazon S3 Bucket. Good option if you need a CDN. I don't know the specifics of your project, but a cheap VPS is a good option.

  • @kush_shah
    @kush_shah Před 4 dny +1

    Can I deploy site if i am having MySQL database in xampp server?

    • @RaddyDev
      @RaddyDev  Před 3 dny

      Technically yes, but that would be self-hosting from home. Find a cloud database if you want to simplify the process. There are many free ones out there that will save you a lot of time

  • @belfroutcsch9579
    @belfroutcsch9579 Před rokem

    how to add buildpack like heroku?

    • @RaddyDev
      @RaddyDev  Před rokem

      I am not sure, you'll have to look up in their docs

  • @kemalsogut9342
    @kemalsogut9342 Před 5 měsíci

    I receive "This site can’t provide a secure connection" error after a while and also when I try to open the app on other devices. Any suggestion?

    • @RaddyDev
      @RaddyDev  Před 5 měsíci

      It sounds like an SSL issue. What service did you end up using? Could have a look online to see if anybody else has the same problem

  • @nested9301
    @nested9301 Před rokem

    shared hosting is great but iwant to know to vps hosting on windows 10 :(

    • @RaddyDev
      @RaddyDev  Před rokem

      I have mainly used VPS based on Linux. Never tried Windows... :/

  • @googoochu3923
    @googoochu3923 Před 3 měsíci +1

    Can i host backend with websockets feature in these two servers like heroku or will it lose connection like deploying on vercel?

    • @Yash-ko1zh
      @Yash-ko1zh Před 3 měsíci

      Same problem I am also facing , did you got any free site to host?

    • @googoochu3923
      @googoochu3923 Před 3 měsíci

      @@Yash-ko1zh apparently render supports websockets connection for 5 mins

    • @Yash-ko1zh
      @Yash-ko1zh Před 3 měsíci

      @@googoochu3923 Thank you brother

  • @bennyxu1895
    @bennyxu1895 Před 6 měsíci

    if i update the code on github, will the website get updated as well

    • @RaddyDev
      @RaddyDev  Před 6 měsíci

      Yeah it will update your website automatically as soon as you push changes

  • @rickjosee
    @rickjosee Před rokem

    cyclic leaves the code open like replit?

    • @RaddyDev
      @RaddyDev  Před rokem

      On the free Cyclic tier you can connect private repository if this is what you mean. So they won't be open on GitHub

  • @mrmaster1231
    @mrmaster1231 Před 9 měsíci

    How many nodejs apps can render serve at a time in free tier?

    • @RaddyDev
      @RaddyDev  Před 9 měsíci

      Webservices are limited by the number of usage hours your account has remaining. You get 750 free instance hours each month and they expire at the end of the month. If you exceed the monthly limit all of your free services will be suspended for the remainder of that month. I hope this helps :)

  • @Shubham_admin
    @Shubham_admin Před 6 měsíci

    custom domain is paid in cyclic

    • @RaddyDev
      @RaddyDev  Před 5 měsíci

      That's a shame. Could try Render, I think that I used a custom domain on a free tier project

  • @trjoksepha4770
    @trjoksepha4770 Před rokem

    thnx

  • @user-db7de6zn7e
    @user-db7de6zn7e Před rokem +1

    I would like to ask, is it like Heroku, has tinyDB, or connecting mySQL to build up SQL API?

    • @RaddyDev
      @RaddyDev  Před rokem +1

      They are both very similar to Heroku. Cyclic has the option of AWS DynamoDB and Render has the option of PostgreSQL. The Database - Superbase offers a very generous free tier that you can connect to any both of them

  • @samjacker
    @samjacker Před 4 měsíci

    i have a server which is connected with mongodb can this work ?

    • @RaddyDev
      @RaddyDev  Před 4 měsíci +1

      You have your own MongoDB server? Yeah it should work as long as something is not blocking the connection

    • @samjacker
      @samjacker Před 4 měsíci

      @@RaddyDev thank you it works pretty good

  • @sofiuzzaman-sofi
    @sofiuzzaman-sofi Před 10 měsíci

    I deploy. Its success but not getting live link why?

    • @RaddyDev
      @RaddyDev  Před 10 měsíci

      There will be one somewhere on your dashboard

  • @shooting4star2023
    @shooting4star2023 Před 5 dny

    Do they support web socket?

    • @RaddyDev
      @RaddyDev  Před 4 dny

      They do. If you google "heroku websockets", they have a good tutorial on how to get started

  • @fikrialfarizi5454
    @fikrialfarizi5454 Před rokem

    Can i use golang ?

    • @RaddyDev
      @RaddyDev  Před rokem

      I don't know if you can. I assume not, but have a look around their website, you never know

  • @leoMC4384
    @leoMC4384 Před rokem

    Site says the limit for free users is 1 app and 10,000 API requests a day. So it's basically useless now.

    • @RaddyDev
      @RaddyDev  Před rokem +2

      The plans where updated recently and it's 10,000/month. It's quite generous, and I believe that the majority of people won't even come close to reaching that limit

  • @gamekentang6273
    @gamekentang6273 Před 11 měsíci

    Hey this is static or dynamic?

  • @dananjayachathuranga7113
    @dananjayachathuranga7113 Před 8 měsíci

    nodejs Apex legend-Api !!! what is that 🙃

  • @ItsMiaMuffy3
    @ItsMiaMuffy3 Před 2 měsíci +1

    Cyclic no longer on :(

    • @RaddyDev
      @RaddyDev  Před 2 měsíci

      It's a shame that they are closing down :(

  • @AtaGowani
    @AtaGowani Před 2 měsíci

    Great video! Cyclic is unfortunately shutting down :(

  • @samjacker
    @samjacker Před měsícem

    talk about vercel !

    • @RaddyDev
      @RaddyDev  Před měsícem +1

      That's a good shout. For some reason I only associate Varcel with NextJs and it didn't even cross my mind to try and deploy a NodeJs app

  • @mayankjirao8747
    @mayankjirao8747 Před rokem +1

    I love you

  • @blackmaxdesigns1523
    @blackmaxdesigns1523 Před měsícem

    Cyclic has been shut down😐

  • @hassaanqaisar2074
    @hassaanqaisar2074 Před rokem

    Render is not FREE now

    • @RaddyDev
      @RaddyDev  Před rokem

      It's free for hobbyist, students and indie hackers. Just checked, no changes here

  • @juancamacho479
    @juancamacho479 Před rokem +1

    heroku was trash anyways lol, thank you for the alternatives, they seems to be better

    • @RaddyDev
      @RaddyDev  Před rokem +1

      I didn't like that the server would go to sleep after a few min of inactivity. It is the right thing to do, but it was annoying :-D

  • @CW91
    @CW91 Před 2 měsíci +1

    Cyclic is no more

  • @souravvashisht7153
    @souravvashisht7153 Před 11 měsíci +1

    Cyclic Update Only 1 app

    • @RaddyDev
      @RaddyDev  Před 11 měsíci +1

      Yeah unfortunately they changed their free tier

  • @CREATORSPVTLTD
    @CREATORSPVTLTD Před 3 měsíci

    Personally, I feel Render is far better than Netlify