Scaffolding CLI for creating modular data APIs using TypeScript
npm create honc-app@latest
HONC is a modular collection of choice technologies for building lightweight, type-safe, edge-enabled data apis that scale seamlessly to their demand.
🪿 Hono as an api framework
🪿 Nameyourdatabase for maximum flexibility
🪿 Drizzle as the ORM and migrations manager
🪿 Cloudflare Workers for deployment hosting
📚 For more examples and templates, check out the Awesome Honc repository.
To get started run the following command:
npm create honc-app@latest
You'll be prompted a few simple questions, and then a fresh HONC project will arrive in a new directory on your machine.
Run the development server:
npm run dev
Once you've set up a database, you can generate migrations, apply them, and seed the database:
npm run db:generate
npm run db:migrate
npm run db:seed
If you're inclined to deploy the app to the wild wild internet, you can do so as follows (requires a Cloudflare account):
npm run deploy
Check out our docs at honc.dev!
See the examples folder for some sample APIs.
We have an Awesome HONC repository with further guides, use cases and examples.