https://github.com/gregalexsmith/workers-hono-api
A basic example API using Hono and Cloudflare D1
https://github.com/gregalexsmith/workers-hono-api
cloudflare-d1 cloudflare-workers drizzle-orm hono lucia-auth
Last synced: 2 months ago
JSON representation
A basic example API using Hono and Cloudflare D1
- Host: GitHub
- URL: https://github.com/gregalexsmith/workers-hono-api
- Owner: gregalexsmith
- Created: 2024-03-30T20:05:23.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-31T00:11:32.000Z (3 months ago)
- Last Synced: 2025-03-31T01:20:36.283Z (3 months ago)
- Topics: cloudflare-d1, cloudflare-workers, drizzle-orm, hono, lucia-auth
- Language: TypeScript
- Homepage:
- Size: 200 KB
- Stars: 89
- Watchers: 2
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hono D1 API Example
A basic API using [Hono](https://github.com/honojs/hono) and [Cloudflare D1](https://developers.cloudflare.com/d1/). It includes:
- Basic email & password authentication with [Lucia](https://github.com/lucia-auth/lucia)
- Database management and ORM with [Drizzle](https://github.com/drizzle-team/drizzle-orm)
- OpenAPI spec and Swagger UI## Screenshots

## Development
1. Clone the repository
1. Install dependencies: `npm install`
1. Initialize the database: `npm run db:migrate`
1. Start the development server: `npm run dev`