I have been looking for a solid boilerplate previously I was building my products on a per project basis but would rather have a base to work off for each, looked around and couldn’t find any that fit all my needs so I did the natural thing and started building one.
I’m creating this boilerplate mainly for creating a saas business and am looking for input on what features you would consider helpful.
(Using a number of services, aws for most, contentfull for the blog cms and send grid for email list [may switch that to aws also])
What I have so far
Also another note I’m using next.js for client and the API, which may or may not be expanded to a custom server if needed
TLDR: what features would you like to see in a saas boilerplate
I have a bunch of standard features I’ve built into my saas.
One is profile photo editing. I don’t outsource this to gravitar, but instead have a nice custom FE for that that allows cropping and does compression before sending it up to object storage.
I do all the fancy things around auth, password reset flows, user name change, display name customization. Lots of work tweaking AllAuth, (which comes with default behavior that is just not how modern apps work these days)
I don’t implement sign in w fb or Google for a few reasons, though if a product were big enough I might.
I have a lot of infrastructure via GitHub actions, and a variety of service integrations like mail gun.
I abstract project name, owner, mailing address, domains for staging, production all away from the app, which is a feature unto itself.
All the major OOB backend stuff I’ve built also has tests!
I see a lot of SaaS boilerplates waste time on landing pages and marketing sites.
Just focus on the actual app.
Teams and RBAC are the biggest thing for me. The rest is pretty easy.