DEV Community

loading...

How to host for free your NodeJS app

Romaric P.
Eng. love engineering stuff
Updated on ・2 min read

Hosting NodeJS applications is easy, finding a completely free NodeJS hosting service that is reliable is not. In this post, I will show you how you can host your NodeJS app on Qovery - A 100% free hosting platform (no credit card required!!) used by 1500+ developers in 94 countries 🌎.

Note: With Qovery you can deploy your NodeJS app with a PostgreSQL database for free.

Disclaimer: I am the co-founder of Qovery.

We provide Qovery for free because it's our way to give back to the community. Our business model allows us to charge $0 for each instance that you run with no limitations :) So enjoy and share your experience with us 😌

You can read more about Qovery vs. Heroku.

Deploy your NodeJS app

Given you have registered on to Qovery and you are logged into Qovery, follow the steps below:

  • Fork the https://github.com/evoxmusic/nodejs-posgresql repository to your GitHub account
  • Go to Qovery, click the button “Create a new project” button in the middle of Qovery
  • Give a name to your project - in my case "Quotes"
  • Add an application
  • After that, click “I have an application”.
  • Then select "Github" and pick your repository "nodejs-postgresql".

Github select repo

  • Select NodeJS

Select NodeJS

  • Give a name to your app

Give a name to your app

  • Select PostgreSQL

Qovery services

  • Select the version of your DB and give it a friendly name

DB

Deploy and TADA

show envs

Conclusion

Hosting a project with NodeJS should not be a hassle. Qovery got your back and provide everything that you need like free SSL, database, CDN to deploy your NodeJS apps.

Give it a try now and leave me your feedback in the comments👇.

-----------------------------------------
Important Note
-----------------------------------------
If your deployment failed, don't forget to declare your NodeJS app port port: 3000 in your .qovery.yml. Read this doc

Discussion (18)

Collapse
difagume profile image
dIEGO fAbRIciO

hello, maybe some example to deploy a nodejs typescript application?

Collapse
rophilogene profile image
Romaric P. Author

Hi Diego, it's exactly the same as deploying a Javascript app. Nothing change. Do you need help?

Collapse
difagume profile image
dIEGO fAbRIciO

Thanks Romaric, I'm going to the discord channel to ask.

Collapse
angelxmoreno profile image
Angel S. Moreno • Edited

For starters, where does one indicate my build process? does Qovery run my build script?

Thread Thread
rophilogene profile image
Romaric P. Author

Hi Angel, what do you mean?

Thread Thread
angelxmoreno profile image
Angel S. Moreno

I've been up to date with the docs since i last posted this. All good. All the building happens at the Dockerfile level.

Collapse
randall72096766 profile image
RandallArmstrong

Hello Everyone,

There are a significant number of free nodejs app and providers available in the market. But you need to choose the best and easiest way in the world. I have mentioned to you some best nodejs hosting providers listed below.

There are several best several nodejs hosting company

1) DomainRacer – Simple, Quick and Easy Node js Hosting
2) Bluehost - Limited server resources
3) A2Hosting – Old Brand But Too Costly

Why choose DomainRacer
DomainRacer gives the cheapest plans with all resources, due to multiple locations sever gives the best sever speed, provides 99.99% uptime and low breakdown time. DomainRacer web hosting easily manages your all website resources. They are offering affordable nodejs hosting applications for your website.
You can check here - domainracer.info/best-nodejs-web-h...

Why choose BlueHost
It is a big brand for web hosting. It gives an easy process for nodejs hosting applications, provides affordable plans but limited resources. Having good service time and low breakdown time.

Why choose A2 Hosting
A2 hosting provides HDD hosting and Email spam-protected but too costly. It gives 24hr customer support and reliable service to their client. They are gives unlimited resources nodejs applications but too costly.

So, I specially recommended DomainRacer because they are so strong and cheapest quality nodejs hosting applications plans.

Collapse
cristhos profile image
Br CRISTAL DIBWE

Thank you for ;
I just deployed an app that matches what I'm looking for.
everything is fine; a little slow but everything is fine.
Can you facilitate the configuration of the domain name. Its very important!

Collapse
rophilogene profile image
Romaric P. Author

It's in the plan 👌 thank you for your feedback - you can take a look at what we prepare on qovery.com/blog 🔥

Collapse
abhijoshi2k profile image
ABHISHEK Joshi

Hi, I get this error when I try to deploy my nodejs application
Http failure response for api.qovery.com/api/v1/organization... 0 Unknown Error

Collapse
patarapolw profile image
Pacharapol Withayasakpunt • Edited

Can I log in (SSH tunnel, perhaps) into Postgres instance, and install plugins?

Collapse
rophilogene profile image
Romaric P. Author

not yet but soon

Collapse
ricardogouveia3 profile image
Ricardo Gouveia

All my deployments fail. I don't get much of why on the logs... where can I get help?

Collapse
rophilogene profile image
Romaric P. Author

Hi Ricardo, you can open a thread here to get support from the community and our team.

Collapse
ogurinkaben profile image
Ogurinka Benjamin

This is just perfect

Collapse
munnyreol profile image
Munny Reol

Nice,
Thanks

Collapse
geshan profile image
Geshan Manandhar

Thanks for using my repo as the example :).

Collapse
yrgamit profile image
Yrga well

i get this error when i press the deploy button