Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
H

hono-starter

> 数据库
Open source

hono-starter - A Typescript API with Node + Hono + Drizzle + MySQL + BullMQ

190 stars0 likes1 views
WebsiteGitHub

About

hono-starter - A Typescript API with Node + Hono + Drizzle + MySQL + BullMQ

Hono Starter

A Hono starter boilerplate for TypeScript with minimal dependencies and a clean architecture. All dependencies are initiated at the start of the application and passed to the controllers and services. A swagger API doc is attached in the static folder: openapi.yaml.

API Doc powered by Swagger UI

Database browser powered by Drizzle Studio

Stack

  • Authentication: JWT
  • Validation: Zod
  • Worker: BullMQ
  • Logging: Pino
  • ORM: Drizzle
  • Queue: Redis
  • DB: MySQL
  • Runtime: NodeJS
  • Framework: Hono
  • Formatter: Biome
  • API Doc: Swagger
  • Language: TypeScript
  • Package Manager: PNPM

Install dependencies

bash
pnpm install
pnpm install -g typescript
pnpm install -g pino-pretty

Run the app

Create a new file .env in the root folder and copy contents from the .env.template file.

bash
docker compose up -d

Generate db table

bash
pnpm run db:generate

Migrate schema

bash
pnpm run db:migrate

Open Swagger UI

bash
open http://localhost:3000/doc

API Doc

The OpenAPI YAML doc is in the static folder.

If you need the JSON file, it can be generated with the help of yq.

https://github.com/mikefarah/yq

bash
yq eval -o=json static/openapi.yaml > static/openapi.json

And the JSON doc will be generated.

Drizzle Studio For Database Browsing

bash
pnpm drizzle-kit studio
open https://local.drizzle.studio/

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptboilerplatebullmqclean-architecturedocker-compose

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库