Ask HN: Go to sources on SaaS development
We're building a SaaS with a friend, and we pretty much finished the product's core's "mvp", but now we have to build... everything else
Users managements, "groups" of users, billing, access control,...
Pretty much everything that makes a SaaS... a SaaS. And I feel like I'm continuously discovering new things that seem essential, which is both awesome and disheartening.
So, what books, blogs, videos, online courses, whatever, would you consider are a must-read ( / watch / listen...) for someone who has never built a SaaS, or even a real product's backend for that matter ^^'
Also, anything related to event-driven architectures would be awesome :-) (I read Martin Fowler's posts and watched his video. They're quite fascinating)
(I'm originally a mobile dev who's been playing around with serverless for the last 2 1/2 years ^^')
12 comments
[ 2.7 ms ] story [ 47.6 ms ] threadOne thing that I always find useful is go read the source code of the SaaS systems that are open soure, things like GitLab and Taiga are good clean codebases to have a look at the general architecture.
https://github.com/taigaio/
https://gitlab.com/gitlab-org/gitlab-ce
I found this quite good https://www.youtube.com/watch?v=W1fkGyIcePA
Also worth a look https://www.youtube.com/watch?v=N8NWDHgWA28 (by and large GOTO; talks are phenomenal).
The videos were really instructive too. Thank you!
From their homepage:
'Created for people who build SaaS products (founders, product managers and engineering team leads) to change the enterprise software narrative from "how to SELL to the enterprise" to "how to BUILD for the enterprise".'
It doesn't deal with the implementation itself, but it gives a clear view of what others did and what to look into.
Thank you!
Rails https://bullettrain.co/
Laravel https://spark.laravel.com/
They are good to get up and running quickly, I used spark on a SaaS and it worked well.
There are lots of great gems/packages that allows you to work without these though, if you want a little more control on how things are setup.
https://news.ycombinator.com/item?id=18010871
Maybe a good opportunity for a Python developer to put one together?
Thanks!
It feels like having the architecture not be event-driven when the whole product is about dealing with events would be the same as going the event-driven architecture route for, let's say, a knowledge-sharing SaaS
But I will definitely keep spark in mind for the future, thank you :-)
Interested in why you'd recommend that? Event-driven architecture decouples everything up front and the benefits are immediate. In this scenario the introduction of billing is en excellent example. User does something they should be billed for? Raise an event. Listen to it to bill them. Next iteration needs to email the user or update some history? Listen to the event. And so on. All the ephemeral saas infrastructure stuff just hangs off of the domain. And writing the code that way really isn't much more onerous than otherwise so I wouldn't discourage it for an MVP.