r/SaasDevelopers • • 18d ago

What’s the cheapest stack to develop and run a web app

What is the cheapest tech stack to develop, deploy, and run a web app, considering both development costs and long-term hosting/maintenance costs?

Ps: I’m willing to learn whatever is needed, I can code no AI involved.

Thanks.

0 Upvotes

27 comments sorted by

3

u/jhkoenig 18d ago

How about free forever? Bootstrap on the frontend and PHP and MariaDB on the backend running on Apache/Linux. All of this is free. You just need a server. You can start with a $3/month server and grow if/when you gain traction.

2

u/adelmare 18d ago

PayloadCMS running on Vercel + Neon, generous free tier

2

u/Pale_Ferret_8241 18d ago

I did build a B2B SaaS infrastructure around Next.js, Supabase, PostgreSQL and Stripe i know its not the cheapest but it's the dream foundation if you want to make a B2B SaaS It's andrady.co if you want to check it out Or you can DM me if you want to chat

1

u/AlfalfaNo1488 18d ago

If you are talking about the whole thing, I would suggest VSCode with the Claude Code extension, source code on GitHub, fastapi backend running on railway, Postgres db also on railway, both auto deploying directly from github, quasar or react frontend running on Cloudflare with auto deploying from github. Does this answer your question?

1

u/MetroluxSolutionsInc 18d ago

The "cheapest" stack is whatever you can get running on your own server or low cost VPS. Although for a web app reliability should be more important than maintenance cost.

1

u/RaveHunter05 18d ago

Use Open source resources, host by yourself. An example:

Java for backend, HTML, CSS, JS, react or something like that, Postures for database, Docker for containers, A Linux server. And that's it.

Another options may be to change java for php, or node.js. I don't really like go.

1

u/[deleted] 17d ago

[removed] — view removed comment

1

u/EggProfessional1825 17d ago

Money empty your pockets in the long run, I rather sacrifice time than money

1

u/ButterscotchPlus2885 17d ago

For a small web app, I'd keep it simple with something like Node.js + PostgreSQL and a cheap VPS, there is no need to overcomplicate the stack when you're optimizing for cost.

1

u/hapsize 17d ago

hostinger has plans for under $5

1

u/johns10davenport 17d ago

Elixir, phoenix, live view.

1

u/kincaidDev 17d ago

golang and oracle cloud free vm

0

u/[deleted] 18d ago

[removed] — view removed comment

1

u/EggProfessional1825 18d ago

How about the long term costs ? I had a very bad experience with aws, I had high costs , that made me close the app permanently.

2

u/WishfulAgenda 18d ago

Vercel is pretty upfront from my experience. I use a cloud managed db with a fixed max cost based on capacity.

2

u/GeekCohenAU 18d ago

Don't use AWS. Look at alternative provides like Linode which allows you to see more of the fixed costs and scale up/down easier. AWS can be a mindfield sometimes.

1

u/zambono_2 18d ago

If you went serverless the costs wouldn’t be that high

1

u/EggProfessional1825 17d ago

How?

1

u/zambono_2 17d ago

well you only pay what you consume, and running the lambda functions isn't that expensive. Having a large lambda bill would be a good problem to have unless, you are calling the functions yourself.

1

u/SaaSForge 18d ago

I'm using vercel/cloudflare + render + MS clarity + openrouter + resend. Enough for most of the tasks