hono-boilerplate

This project is a backend boilerplate built using the Hono framework. Cloudfare Workers are used to host the backend. It includes integration with Supabase and handles user authentication and authorization.

boilerplatetypescriptserverlessbackendhonocloudflare-workerssupabase

Preview

hono-boilerplate preview

Overview

This is a backend boilerplate for building serverless APIs using the Hono framework deployed on Cloudflare Workers, with built-in Supabase integration for database access and user authentication. It provides authentication middleware, token refresh logic and separate database clients for public and privileged operations, making it suitable for building secure web applications that need user login, protected routes and database queries.

Features

user authenticationuser authorizationtoken refresh mechanismmiddleware supportcontroller-based routing

Feature Flags

userDashboardauthenticationemailsauthorizationjobsQueueai

Recommended Use Cases

serverless backendapi developmentauthentication-required applications

Frontend

None

Backend

honocloudflare-workerstypescript

Auth Providers

supabase

Deployment Targets

cloudflare-workers

Payment Providers

None

Quick Facts

โญ Stars
89
๐Ÿด Forks
17
๐Ÿงพ License
mit
๐Ÿ”„ Active
Unknown

Stack

Framework
hono
Language
typescript
Database
supabase
Auth
supabase

Data Layer

Databases
postgresql, supabase

UI Stack

Developer Experience

Docker
No
Tests
No
Quickstart
Yes
env.example
Yes

Pricing

Classification
free
Selected
โ€”
Notes
Open source MIT licensed project
Get Started with this Boilerplate