I'm a student working on a web app that has a Golang backend, a React JS frontend, and uses PostgreSQL for the database. I've already bought a domain and uploaded my project to Git. I'm looking for affordable hosting options since I want to keep costs low. I've been experimenting with Render.com for its free tier to test the app, but I need a more permanent solution. Any suggestions?
5 Answers
Render.com is fine for initial testing, but their free tier shuts down after inactivity. A cheap VPS from providers like Hetzner or Contabo is a good low-cost option, costing around $3 to $5 a month. You can run your Golang backend and serve your React app all on one server, plus host PostgreSQL on the same box. It's a bit of a setup initially, but you'll have full control without unexpected limits.
I suggest going with a $7/month VPS like Linode. It's been great for me; I host my portfolio and other small projects on one instance. Plus, as a student, this is a fantastic way to learn more about web servers and deployment!
You might want to check out AlwaysData's free plan. They have specific configurations for Go which could work well for your app.
Thanks a lot for the recommendation!
Consider getting a VPS and setting up Dokku. This not only keeps costs low but also helps you learn more about server management, which is super beneficial for a student.
I've been using Azure for hosting, and it's pretty economical. They also offer student credits, which can give you around $200 to work with for free! Just consider your traffic and whether you need a database to stay within those limits.
Thanks, I'll definitely look into Azure!

+1 for the VPS option! Learning about app deployment is super important.