React Router + Bun + Hono

A modern, production-ready full-stack template with authentication, email verification, and database integration.

React Router v7
Bun
Hono
Better Auth
PostgreSQL
Drizzle ORM
TailwindCSS
TypeScript
Vitest

Features

Authentication

Complete auth system with email/password, email verification, and password reset using Better Auth

Email Service

Transactional emails with Resend, featuring beautiful React Email templates and Zod validation

Database

PostgreSQL with Drizzle ORM for type-safe queries and automatic migrations

Server-Side Rendering

Built-in SSR with React Router v7 and Hono server for optimal performance

Loading States

Polished UI with loading spinners and disabled states during form submissions

Error Handling

Beautiful 404 page and error boundary with helpful navigation and stack traces in dev

Dark Mode Ready

Full dark mode support with semantic color tokens throughout the entire application

Type Safety

Full TypeScript support with generated types from React Router and Drizzle

Testing Setup

Vitest + React Testing Library configured with happy-dom for fast unit tests