Best Alternatives To Heroku For hosting a NodeJS app for FREE

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • 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.buymeacoff...
    Project: bit.ly/3u28awp
    app.cyclic.sh/...
    render.com/
    Discounts:
    ⚡ Hostinger: www.hostg.xyz/...
    ⚡ Elementor: be.elementor.c...
    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.u...
    Credit:
    Video by Pavel Danilyuk: www.pexels.com...
    Video by Tima Miroshnichenko: www.pexels.com...
    Video by Mikhail Nilov: www.pexels.com...
    Video by Pressmaster: www.pexels.com...

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

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

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

    • @tsreenivas6550
      @tsreenivas6550 Год назад +6

      i am using Cyclic

    • @olusegunlight3190
      @olusegunlight3190 Год назад +3

      Cyclic

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

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

    • @Sameer.Trivedi
      @Sameer.Trivedi 11 месяцев назад +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 10 месяцев назад

      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.

  • @kush_shah
    @kush_shah 2 месяца назад +1

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

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

      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

  • @srikanthambaldhage5264
    @srikanthambaldhage5264 Год назад +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!

  • @maisamhussaintoorie7119
    @maisamhussaintoorie7119 Год назад +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  Год назад +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 Год назад

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

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

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

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

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

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

      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

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

    Hey this is static or dynamic?

  • @arjun_vinod
    @arjun_vinod 2 месяца назад +1

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

    • @RaddyDev
      @RaddyDev  2 месяца назад +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

  • @davidgirgis4130
    @davidgirgis4130 28 дней назад +2

    cyclic is shutting down

    • @RaddyDev
      @RaddyDev  26 дней назад

      That's a shame. Render might be the last free good option that I can think of. Oh and Varcel should work

  • @CW91
    @CW91 4 месяца назад +1

    Cyclic is no more

  • @MiguelVarona-uj2mm
    @MiguelVarona-uj2mm 3 месяца назад +1

    Cyclic is not available for new registrations.

  • @christopheradolphe
    @christopheradolphe Год назад +4

    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  Год назад +1

      Congrats and good luck with the side project!

  • @googoochu3923
    @googoochu3923 5 месяцев назад +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 5 месяцев назад

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

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

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

    • @Yash-ko1zh
      @Yash-ko1zh 5 месяцев назад

      @@googoochu3923 Thank you brother

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

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

    • @RaddyDev
      @RaddyDev  Год назад +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

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

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

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

    Great video! Cyclic is unfortunately shutting down :(

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

      That's a shame 😔

  • @muhammadmudassirsiddiqui3030
    @muhammadmudassirsiddiqui3030 Год назад +3

    It is much needed, thanks man

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

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

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

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

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

      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.

  • @nguyenhoangnhutanhk16_hcm64
    @nguyenhoangnhutanhk16_hcm64 5 месяцев назад +1

    tks bro

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

    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

  • @edutech8909
    @edutech8909 Год назад +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 ;)

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

    Cyclic has been shut down😐

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

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

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

    thx

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

    Do they support web socket?

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

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

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

    Cyclic Update Only 1 app

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

      Yeah unfortunately they changed their free tier

  • @ItsMiaMuffy3
    @ItsMiaMuffy3 4 месяца назад +1

    Cyclic no longer on :(

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

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

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

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

    • @RaddyDev
      @RaddyDev  6 месяцев назад +1

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

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

      @@RaddyDev thank you it works pretty good

  • @spliffys303
    @spliffys303 Год назад +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  Год назад +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 Год назад

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

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

      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

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

    custom domain is paid in cyclic

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

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

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

    I love you

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

    Thanks man 🎉 Worth it

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

    great video man, two amazing options

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

    Much needed 🎉

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

    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  7 месяцев назад

      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

  • @sofiuzzaman-sofi
    @sofiuzzaman-sofi Год назад

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

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

      There will be one somewhere on your dashboard

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

    very much needed! thank you TT^TT

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

    talk about vercel !

    • @RaddyDev
      @RaddyDev  3 месяца назад +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

  • @ponmuthu..4796
    @ponmuthu..4796 4 месяца назад +1

    Great tutorial

    • @RaddyDev
      @RaddyDev  4 месяца назад +1

      Thank you!

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

    render works good for me

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

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

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

      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)

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

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

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

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

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

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

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

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

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

    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  Год назад

      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 Год назад

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

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

      That would be Render dot com

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

    This is precisely what I was searching for.

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

    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  Год назад +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

  • @Unclear-Reality
    @Unclear-Reality Год назад

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

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

      I appreciate the comment brother

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

    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.

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

    Thank you, It was very useful!

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

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

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

    Thank man.

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

    Thank you

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

    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  Год назад

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

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

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

    • @RaddyDev
      @RaddyDev  6 месяцев назад +1

      Glad you liked it!

  • @djibrilm__-
    @djibrilm__- Год назад

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

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

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

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

      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.

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

    cyclic leaves the code open like replit?

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

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

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

    Thank you so much for share with us Bro.

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

    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!

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

    how to add buildpack like heroku?

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

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

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

    Render is not FREE now

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

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

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

    Thanks man, This helps a lot

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

    Can i use golang ?

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

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

  • @YIPCS-g4m
    @YIPCS-g4m Год назад +1

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

    • @RaddyDev
      @RaddyDev  Год назад +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

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

    thnx

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

    Personally, I feel Render is far better than Netlify