A learning project for building CRUD applications with Hono + Drizzle ORM + Neon + Vitest.
- Hono: Fast web framework
- Drizzle ORM: TypeScript ORM
- Neon: Serverless Postgres
- Vitest: Testing framework
- Cloudflare Workers: Deployment platform
npm installStart the development server:
npm run dev# Watch mode
npm run test
# Run once
npm run test:runnpm run deployGenerate types based on your Worker configuration:
npm run cf-typegenPass the CloudflareBindings as generics when instantiating Hono:
// src/index.ts
const app = new Hono<{ Bindings: CloudflareBindings }>()- Test database management
- Parallel test execution