Ask HN: Tech stack for small SaaS side projects as a solo developer?
21–30 of 34 posts
Re: Ask HN: Tech stack for small SaaS side projects as a solo developer?
#22As for the frontend, I suck at it so I don't have any opinion
Re: Ask HN: Tech stack for small SaaS side projects as a solo developer?
#23Re: Ask HN: Tech stack for small SaaS side projects as a solo developer?
#24As 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
Re: Ask HN: Tech stack for small SaaS side projects as a solo developer?
#25Golang, Htmx, Sqlite if you want to deploy fast with minimal setup. For CSS, whatever works for you, but Tailwind / Bulma / Bootstrap are ok.
Re: Ask HN: Tech stack for small SaaS side projects as a solo developer?
#26Re: Ask HN: Tech stack for small SaaS side projects as a solo developer?
#272. 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).
Re: Ask HN: Tech stack for small SaaS side projects as a solo developer?
#28Re: Ask HN: Tech stack for small SaaS side projects as a solo developer?
#29Ansible 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?
#30Clojure (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.