I kept running into the same problem every time I wanted to start something new.
I’d spend a few days (sometimes more) just setting up the basics:
auth, teams, roles, API keys, project structure, etc.
So I finally just put everything I usually build into one repo so I can reuse it.
It’s not meant to be a polished “starter kit product” or anything like that — just the setup I personally use.
Out of the box it has:
- multi-tenant structure (orgs / teams / roles)
- auth flow + API key support
- access control patterns
- Go API (Echo) + Postgres
- React SPA for the platform
- Astro for the landing page
- shared backend + UI packages
Repository: https://github.com/yca-software/2chi-kit
Goal is just to remove setup friction so I can focus on building actual products.
I’ll be using this to build a few SaaS apps in the next weeks.
Would be curious:
- how do you usually structure your SaaS backends?
- do you reuse a base like this or start fresh each time?