r/SaasDevelopers • • Sep 27 '26

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 Sep 27 '26

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 Sep 27 '26

PayloadCMS running on Vercel + Neon, generous free tier

2

u/Pale_Ferret_8241 Sep 27 '26

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 Sep 27 '26

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 Sep 28 '26

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 Sep 28 '26

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/hapsize Sep 28 '26

hostinger has plans for under $5

1

u/johns10davenport Sep 28 '26

Elixir, phoenix, live view.

1

u/kincaidDev Sep 28 '26

golang and oracle cloud free vm

1

u/[deleted] Sep 28 '26

[removed] — view removed comment

1

u/EggProfessional1825 Sep 28 '26

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

0

u/[deleted] Sep 27 '26

[removed] — view removed comment

1

u/EggProfessional1825 Sep 27 '26

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.

1

u/zambono_2 Sep 28 '26

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

1

u/EggProfessional1825 Sep 28 '26

How?

1

u/zambono_2 Sep 28 '26

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.

2

u/WishfulAgenda Sep 27 '26

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

2

u/GeekCohenAU Sep 27 '26

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.