Hono React Boilerplate

screenshot of Hono React Boilerplate
drizzle-orm

This is a boilerplate for react, postgres, hono, drizzle, ai, better-auth, tanstack-query, tanstack-router, shadcn and tailwind.

Overview

The Modern Full-Stack Monorepo is a robust and production-ready template that utilizes Turborepo to provide a comprehensive solution for developing scalable full-stack applications. Combining a React web application, an API server, and shared packages, this template is designed to streamline the development process with modern tooling and best practices. Whether you're an experienced developer or just starting out, this monorepo offers a quick and efficient way to get your projects up and running.

Getting started is exceptionally easy with the interactive CLI tool, which allows you to scaffold the entire monorepo tailored to your specific needs. With a modern tech stack and built-in features to ensure high performance and a great developer experience, this template is ideal for anyone looking to dive into full-stack development.

Features

  • Modern Stack: Built with React 19, Hono, TypeScript, and Bun for a cutting-edge development environment.
  • Monorepo Structure: Utilizes Turborepo for efficient builds and caching, enhancing performance.
  • Authentication Made Easy: Features Better Auth with support for email/password and OAuth providers for secure user access.
  • Beautiful UI Components: Comes with shadcn/ui in combination with Tailwind CSS, enabling dark mode and responsive design.
  • Mobile-First Design: Ensures a modern user experience across various devices with its responsive layout.
  • Database Support: Integrates Drizzle ORM with PostgreSQL, along with migration capabilities for easy database management.
  • AI Integration: Optional integration with OpenAI for advanced features and functionalities.
  • Developer-Friendly Tools: Includes Biome linting, pre-commit hooks, and type safety for a smooth development workflow.
drizzle-orm
Drizzle ORM

Drizzle ORM is a TypeScript ORM for SQL databases designed with maximum type safety in mind. It comes with a drizzle-kit CLI companion for automatic SQL migrations generation. Drizzle ORM is meant to be a library, not a framework. It stays as an opt-in solution all the time at any levels.