Live data from Hacker News

Ask HN: Tech stack for small SaaS side projects as a solo developer?

news.ycombinator.com

21–30 of 34 posts

Re: Ask HN: Tech stack for small SaaS side projects as a solo developer?

#21
What I would use: Python-based Django/flask depending on the complexity, SQL database (postgresql, even SQLite for minimal projects), Apache/WSGI, Ubuntu-based VPS (e.g. AWS EC2) with semi automatic deployment, automated backups on e.g. AWS S3, HTML5/CSS3 with a minimal CSS framework such as Skeleton, Vanilla JS. Mature tech stack, minimal dependencies, slow upgrade pace, and most importantly, a stack I'm quite familiar with. No surprises. Never failed me.

Re: Ask HN: Tech stack for small SaaS side projects as a solo developer?

#23
It kind of depends on what the SaaS does. But I’ve had a lot of success with B2C apps on WordPress. It handles user management, routing, and dashboard out of the box with a few free or cheap plugins. Then depending on what the app is meant to do, I write code or manipulate plugins to do what I need.

Re: Ask HN: Tech stack for small SaaS side projects as a solo developer?

#24
post #19

As a solo dev for https://cubetrek.com my tech stack is as follows: Front-end: Bootstrap, vanilla JS, for visualizations: D3.js and Babylon.js Backend: Java Spring Boot, PostgreSQL Deployement: semi-manual, script rsyncing the Jar onto the dedicated Hetzner Server Regarding ease of adding new features: I guess that depends mainly on your code base and less on your stack

Is there a good user registration/auth solution for spring boot?

Re: Ask HN: Tech stack for small SaaS side projects as a solo developer?

#26
Whatever you pick for the backend, on the frontend, I'd recommend sticking mainly to pure web technologies. You can get a decent phone version through capacitor or other webview-based solutions. Many eCommerce and such sites do just fine with webview based apps. It is so much easier when you can have just a single code base with some responsive CSS mixed-in to manage, rather than 2-3 codebases, with constantly diverging feature set.

Re: Ask HN: Tech stack for small SaaS side projects as a solo developer?

#27
Some thoughts... 1. There is no tech stack in the world you can safely deploy and forget about for months or years. Security updates are needed, OS updates cause changes, browser technology changes, and your users change. Even setting aside security, let's say you build something that becomes popular, you've no IC lock-in, and you don't add features / adapt. Sooner or later someone is going to create a clone that does add features / adapt and you will start to lose business.

2. Adding new features is rarely 'easy', because you have to test it with the other features, do deployment, support older versions of the app (if possible), etc. Still, some stacks make it easier than others.

3. Simple deployment once you've configured your automation is an area where there has been lots of progress. You can look at Puppet, Chef, Docker containerization.

4. Dependencies change. Typically you should view changing dependencies like you would adding a new feature: have a justification for it, do full testing, and only then deploy.

5. Open Source is easy to find, and there are a lot of good quality candidates.

6. One commenter recommended to use what you know. Within reason, that's good advice. However, the old adage of 'when all you have is a hammer, everything looks like a nail' applies. Use the right tool for the job.

7. For the front-end, I recommend client side JavaScript, either Lit or React using Vite. Svelte shows promise, but is not fully mature enough yet to be acceptable when you're solo and using it in production.

8. For the back-end, I recommend Rust. It's reliable, it's performant, and there is a good ecosystem for it. If you go that route, I recommend Axum or Tide for your Web server, fronted by Nginx. You could also go NodeJS (or Deno) and Express or Next. A JS back-end though means you're at the mercy of the NPM ecosystem, which is rife with abandoned packages. Rust could get like that, but seems to be more well pruned. If you go with Rust and want easy new features, a REST based API using a plugin architecture can work well.

9. I recommend 3 repos: front-end, back-end, devops. Your deployment scripts and other things go in devops. Your front-end, if you follow 8, will be Javascript. Your back-end, if you follow 8, will be Rust.

Btw, Rust comes with some caveats. If you don't know it already it has a steep learning curve, however the benefits of learning it are high. You also can use an existing hardened version of Rust made by Ferrous Systems, called Ferrocene (I've no relation with them, other than maybe wanting to work there someday).

https://ferrous-systems.com/ferrocene/

Re: Ask HN: Tech stack for small SaaS side projects as a solo developer?

#28
Golang for fast critical services. Web stuff can be rails or laravel. Or you can do everything in Go if you want a single language. Also stop thinking of tech stacks. The word stack should make you feel icky. Also consider pocketbase which is written in go.

Re: Ask HN: Tech stack for small SaaS side projects as a solo developer?

#29
I used Ruby on Rails, deployed on DigitalOcean for my SaaSes , after a few years they gotten mostly stable and I seldom add new feature, mostly just fixes or integration with third party APIs.

Ansible for setting up infra, reusable across multiple apps, you can use PaaS like DigitalOcean app platform to save even more time

Managed Database by DigitalOcean

Ruby on Rails, served via Nginx

AlpineJS (with tag), no build process needed TailwindCSS (use CLI locally to generate the needed CSS)

Been using this stack since 2020, couldn't be happier, no bullshit of NodeJS / NPM randomly breaks when I come back after few months

Re: Ask HN: Tech stack for small SaaS side projects as a solo developer?

#30
I've had good success with:

Clojure (Polylith, Reitit, Clojure Spec and Spec Tools), XTDB (Postgres as the datastore), HTMX and Tailwind

Other combinations work just as well Clojure (same Clojure stack), InteriaJS, Postgres (no XTDB), Datomic, Tailwind

I would also recommend AWS Copilot to deploy containers to the AWS cloud with a Postgres RDS backend.

Post reply on HN