015 files · 151 KB
The SaaS starter
Start with accounts, organisations, email and analytics wired into a React app and Hono API.
Keep accounts, organisations and passkey sign-in in your own Hono API and Postgres database.
2 files · 5 KB
Why I keep it
I use Better Auth for WithSeismic’s accounts and organisations, so the user records and sessions live in my own Postgres database. Hono mounts the auth handler; the front end talks to that API through the same origin, where cookies and passkeys need to agree.
Auth APIs move, so I’ve given you the architecture and a prompt for your agent to build against the current docs. GUIDE.md sets out the origin, tables, plugins and passkey rules; PROMPT.md asks the agent to prove sign-in on localhost with your own setup.
2 files · 5 KB
015 files · 151 KB
Start with accounts, organisations, email and analytics wired into a React app and Hono API.
025 files · 6 KB
Run builds, tests and type checks across your apps in dependency order, with cached results.
0316 files · 18 KB
Give your API typed routes, generated docs and a consistent error response before adding features.
048 files · 8 KB
Keep your database schema typed and your SQL migrations checked in beside the code that needs them.
059 files · 10 KB
Keep React routes, session checks and cached server data working from the same types.
065 files · 5 KB
Check staged code at commit time and types before a push, including work written by your agents.
I’ll send you one build log a week: what I added to the library and what I shipped with it. You can unsubscribe any time.