{"id":15723361,"url":"https://github.com/joker666/hono-starter","last_synced_at":"2026-03-16T03:31:16.727Z","repository":{"id":238734465,"uuid":"797391133","full_name":"Joker666/hono-starter","owner":"Joker666","description":"🚀 hono-starter - A Typescript API with Node + Hono + Drizzle + MySQL + BullMQ","archived":false,"fork":false,"pushed_at":"2025-03-02T07:12:48.000Z","size":172,"stargazers_count":120,"open_issues_count":4,"forks_count":10,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T21:14:39.270Z","etag":null,"topics":["boilerplate","bullmq","clean-architecture","docker-compose","drizzle-orm","env","hono","honojs","jwt","mysql","nodejs","pino-logs","starter-kit","typescript","zod-validation"],"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/Joker666.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}},"created_at":"2024-05-07T18:30:38.000Z","updated_at":"2025-04-03T05:59:02.000Z","dependencies_parsed_at":"2024-05-07T19:47:02.990Z","dependency_job_id":"f876a4b0-5346-4dc2-8e07-9a9920e0f724","html_url":"https://github.com/Joker666/hono-starter","commit_stats":{"total_commits":98,"total_committers":1,"mean_commits":98.0,"dds":0.0,"last_synced_commit":"f62d21c8eecb27766b9f1f7109c5dd3f2424283b"},"previous_names":["joker666/hono-starter"],"tags_count":6,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joker666%2Fhono-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joker666%2Fhono-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joker666%2Fhono-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joker666%2Fhono-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Joker666","download_url":"https://codeload.github.com/Joker666/hono-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247550690,"owners_count":20956987,"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","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":["boilerplate","bullmq","clean-architecture","docker-compose","drizzle-orm","env","hono","honojs","jwt","mysql","nodejs","pino-logs","starter-kit","typescript","zod-validation"],"created_at":"2024-10-03T22:11:19.396Z","updated_at":"2026-03-16T03:31:16.697Z","avatar_url":"https://github.com/Joker666.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hono Starter\n\nA Hono starter boilerplate for TypeScript with minimal dependencies and a clean architecture. All dependencies are\ninitiated at the start of the application and passed to the controllers and services. A swagger API doc is attached in\nthe static folder: `openapi.yaml`.\n\n### API Doc powered by Swagger UI\n\n\u003cimg width=\"1538\" alt=\"Screenshot 2024-09-28 at 12 48 21 AM\" src=\"https://github.com/user-attachments/assets/7b1ea200-30ef-4ad6-937d-e6767905e41e\"\u003e\n\n### Database browser powered by Drizzle Studio\n\n\u003cimg width=\"1571\" alt=\"Screenshot 2024-09-28 at 12 46 26 AM\" src=\"https://github.com/user-attachments/assets/c8d43dd4-9d93-4ae7-8a4c-7756b84ef9f7\"\u003e\n\n## Stack\n\n- Authentication: JWT\n- Validation: Zod\n- Worker: BullMQ\n- Logging: Pino\n- ORM: Drizzle\n- Queue: Redis\n- DB: MySQL\n- Runtime: NodeJS\n- Framework: Hono\n- Formatter: Biome\n- API Doc: Swagger\n- Language: TypeScript\n- Package Manager: PNPM\n\n## Install dependencies\n\n```bash\npnpm install\npnpm install -g typescript\npnpm install -g pino-pretty\n```\n\n## Run the app\n\nCreate a new file `.env` in the root folder and copy contents from the `.env.template` file.\n\n```bash\ndocker compose up -d\n```\n\n### Generate db table\n\n```bash\npnpm run db:generate\n```\n\n### Migrate schema\n\n```bash\npnpm run db:migrate\n```\n\n### Open Swagger UI\n\n```bash\nopen http://localhost:3000/doc\n```\n\n## API Doc\n\nThe OpenAPI YAML doc is in the `static` folder.\n\nIf you need the JSON file, it can be generated with the help of `yq`.\n\nhttps://github.com/mikefarah/yq\n\n```bash\nyq eval -o=json static/openapi.yaml \u003e static/openapi.json\n```\n\nAnd the JSON doc will be generated.\n\n## Drizzle Studio For Database Browsing\n\n```bash\npnpm drizzle-kit studio\nopen https://local.drizzle.studio/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoker666%2Fhono-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoker666%2Fhono-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoker666%2Fhono-starter/lists"}