Description
An opinionated starting point for building SaaS products, with Hono, Drizzle ORM, Better-auth, and Biome. It includes three templates I've tested in practice (Routine, Board, Link-Hub) that cut the time it takes to ship.
Features
- Auth already wired up with Better-auth (email, OAuth, magic links)
- Type-safe database layer using Drizzle ORM with automatic migrations
- Biome for linting and formatting in place of ESLint and Prettier
- Three ready-to-use templates: Routine Manager, Kanban Board, Link Hub
Challenges
- Designing a template structure flexible enough for different kinds of SaaS
- Bringing in Better-auth as an Auth.js alternative while keeping full type safety
- Setting up Biome to match the team's coding standards across all the templates
Learnings
- Using Hono as a lightweight, edge-first API framework
- Drizzle ORM patterns for type-safe database work
- How to integrate Better-auth and migrate off next-auth