{"id":30172090,"url":"https://github.com/leanhanc/hono-betterauth-openapi-starter","last_synced_at":"2026-04-29T16:39:07.825Z","repository":{"id":309096738,"uuid":"1035129435","full_name":"leanhanc/hono-betterauth-openapi-starter","owner":"leanhanc","description":"A Hono 🔥 starter project using Drizzle ORM and Stoker helpers, featuring Better Auth integration and API documentation powered by OpenAPI.","archived":false,"fork":false,"pushed_at":"2025-08-09T20:13:46.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-09T21:11:04.511Z","etag":null,"topics":["better-auth","drizzle-orm","hono","openapi","pino","scalar"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leanhanc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-09T18:04:22.000Z","updated_at":"2025-08-09T20:13:50.000Z","dependencies_parsed_at":"2025-08-09T21:11:39.109Z","dependency_job_id":null,"html_url":"https://github.com/leanhanc/hono-betterauth-openapi-starter","commit_stats":null,"previous_names":["leanhanc/hono-betterauth-openapi-starter"],"tags_count":null,"template":true,"template_full_name":null,"purl":"pkg:github/leanhanc/hono-betterauth-openapi-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanhanc%2Fhono-betterauth-openapi-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanhanc%2Fhono-betterauth-openapi-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanhanc%2Fhono-betterauth-openapi-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanhanc%2Fhono-betterauth-openapi-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leanhanc","download_url":"https://codeload.github.com/leanhanc/hono-betterauth-openapi-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanhanc%2Fhono-betterauth-openapi-starter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269970085,"owners_count":24505457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["better-auth","drizzle-orm","hono","openapi","pino","scalar"],"created_at":"2025-08-11T23:00:30.068Z","updated_at":"2026-04-29T16:39:07.777Z","avatar_url":"https://github.com/leanhanc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hono 🔥 Better Auth OpenAPI Starter\n\nA modern TypeScript starter project featuring:\n\n- **Hono** - Fast, lightweight web framework\n- **Better Auth** - Type-safe authentication\n- **Drizzle ORM** - Type-safe database operations\n- **Stoker** - Utilities for Hono and OpenAPI\n- **OpenAPI** - Automatic API documentation\n\n## Quick Start\n\n1. **Install dependencies:**\n\n   ```sh\n   bun install\n   ```\n\n2. **Run development server:**\n\n   ```sh\n   bun run dev\n   ```\n\n3. **Open your browser:**\n   ```\n   http://localhost:3000\n   ```\n\n## Project Structure\n\n```\nsrc/\n├── index.ts          # Application entry point\n├── db/               # Database schema \u0026 migrations\n├── middleware/       # Middleware\n├── lib/              # Library (utils, types, etc.)\n```\n\n## Environment Setup\n\nCopy `.env.example` to `.env` and configure:\n\n```env\nLOG_LEVEL=\nCORS_ORIGIN=\nDATABASE_URL=\n```\n\n## Development\n\n- **Hot reload:** Changes automatically restart the server\n- **Type safety:** Full TypeScript support with strict mode\n- **API docs:** Auto-generated OpenAPI documentation at `/api-docs` and `/betterauth-docs` (Better Auth specific endpoints)\n- **Code formatting:** Prettier with consistent formatting rules\n- **Linting:** ESLint with TypeScript support and recommended rules\n\n## Stack Details\n\n- **Runtime:** Bun\n- **Framework:** Hono v4\n- **Database:** Drizzle ORM (PostgreSQL default)\n- **Auth:** Better Auth\n- **Validation:** Zod\n- **Documentation:** OpenAPI/Swagger\n- **Code Quality:** ESLint + Prettier\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleanhanc%2Fhono-betterauth-openapi-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleanhanc%2Fhono-betterauth-openapi-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleanhanc%2Fhono-betterauth-openapi-starter/lists"}