BOOTSTRAPPING 11 upvotes 2020

Ask HN: Solo developer – Recommended architecture/patterns for building a SaaS?

11 pts
Hacker News Signal
2020 · Shared by @kisamoto
Ask HN: Solo developer – Recommended architecture/patterns for building a SaaS? by @kisamoto

The Founder's Submission

Direct narrative and submission text authored by @kisamoto on Hacker News:

Across SaaS offerings there are some common functionalities that must be built but as a solo developer my time and resources are limited.


    * Authentication / Authorization
    * Usage monitoring
    * API Gateway
    * Billing calculations
    * Invoice generation and sending
    * Customer support (including portal to manage account)

I have left the specifics of the software out on purpose however it is primarily REST API based.

So far I have looked at building on top of Kubernetes with Keycloak for auth; Kong (free) for API gateway; cron jobs to calculate daily bills, update a database and send monthly invoices. It's ugly, takes more time than I would like to spend to maintain and develop and means I lose time spent working on my core business.

Are there any best practices/design patterns/architectures for building a small-medium scalable SaaS platform?

I am open to experiences with managed services and heavy vendor lock-in as previously I tried to avoid it but the flexibility (that I have not used) is a tradeoff with time and effort required.

Retrospective Overview & Key Insights

Distilled reflections, business mechanics, and tactical takeaways:

Published in 2020, this chronicle by @kisamoto details the mechanics of building a profitable, self-funded business without venture backing.

Core Principles for Independent Builders:
1
Charging customers from day one acts as the ultimate filter for building software that solves genuine, high-urgency problems.
2
Keeping fixed overhead low and leveraging lean infrastructure allows founders to stay alive until market tailwinds kick in.
3
Small, repetitive improvements in customer retention and conversion rates yield massive returns over multi-year horizons.
Community Debate Themes:

The community focused on B2B customer acquisition channels, cold email vs SEO distribution, and balancing full-time employment with side-project development.

Community Discussions & Critical Reviews

Key perspectives, counter-arguments, and peer founder insights debated on Hacker News (8 total discussions):

HA @hazz99 Peer Contributor
KU @kugelblitz Peer Contributor
NO @nonines Peer Contributor

Maybe stack overflow would be a better place to ask. Please post back a link if you do.

TU @tucaz Peer Contributor

I’m on the same boat and have been building these things for the past year

HISTORICAL ERA Pandemic Bubble (2020–2022)
COMMUNITY SCORE 11 points
TOTAL DISCUSSIONS 8 comments
TOPICS & TECH STACK: