{"id":14006896,"url":"https://github.com/supersoniko/hono-api-starter","last_synced_at":"2025-05-07T03:04:14.957Z","repository":{"id":187056073,"uuid":"676236101","full_name":"supersoniko/hono-api-starter","owner":"supersoniko","description":" Modern DX friendly starter for Node.js/Hono APIs with the focus on simplicity and robustness.","archived":false,"fork":false,"pushed_at":"2025-05-02T12:46:38.000Z","size":370,"stargazers_count":18,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-07T03:02:21.615Z","etag":null,"topics":["boilerplate","honojs","monorepo","nodejs","starter-kit","starter-template","typescript"],"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/supersoniko.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":"2023-08-08T18:32:00.000Z","updated_at":"2025-05-05T07:00:11.000Z","dependencies_parsed_at":"2023-12-22T17:23:26.353Z","dependency_job_id":"b69d6df7-8a94-46aa-a22b-9d6a3d7e7b04","html_url":"https://github.com/supersoniko/hono-api-starter","commit_stats":null,"previous_names":["supersoniko/hono-api-starter"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supersoniko%2Fhono-api-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supersoniko%2Fhono-api-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supersoniko%2Fhono-api-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supersoniko%2Fhono-api-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/supersoniko","download_url":"https://codeload.github.com/supersoniko/hono-api-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252804206,"owners_count":21806769,"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","honojs","monorepo","nodejs","starter-kit","starter-template","typescript"],"created_at":"2024-08-10T10:01:41.864Z","updated_at":"2025-05-07T03:04:14.944Z","avatar_url":"https://github.com/supersoniko.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Hono API Starter\n\n🚀 Modern DX friendly starter for Node.js/[Hono](https://github.com/honojs/hono) APIs with the focus on simplicity and robustness.\n\n## Features\n\n- ✨ Node 22\n- 🔹 TypeScript 5.8\n- ❤️ Monorepo setup with Turbo and npm workspaces\n- 🔥 Auto reloading support for monorepo setup\n- 🚀 Turbo pipeline to run tasks\n- ✅ Type and runtime safe environment variables\n- 🔒 Secure headers by default for APIs\n- 🛡️CORS\n- 📚 Robust logger (credits to Practica)\n- 🆔 Unique request ID (credits to Practica)\n- 🚫 Strict linting and type checking rules\n- 🐶 Husky for Git Hooks\n- 📔 Lint git commit with Commitlint\n- 🦺 Unit Testing with native Node.js test runner\n- 📦 Optimized esbuild production artifact\n- 🐳 Production ready Dockerfile for deployment\n\n## General setup\n\nManage your Node.js version automatically with [Volta](https://volta.sh)\n\n### Clone the repository\n\n```bash\ngit clone https://github.com/supersoniko/hono-api-starter.git\n```\n\n### Install dependencies\n\n```bash\nnpm i\n```\n\n### Cat Topia Application\n\n#### Development Server\n\n```\nnpm run turbo:start:dev:cat-topia\n```\n\n```bash\nopen http://localhost:8000\n```\n\n#### Production simulation\n\n```bash\n# Only build JavaScript output\nnpm run turbo:build:app:cat-topia\n# Build and run JavaScript output\nnpm run turbo:start:app:cat-topia\n```\n\n```bash\nopen http://localhost:8000\n```\n\n#### Production deploy to Fly\n\nThis will require [Fly.io CLI](https://fly.io/docs/hands-on/install-flyctl/) to be installed.\n\n```bash\nflyctl launch\n```\n\n```bash\nflyctl deploy\n```\n\n### API Specification\n\nThe API specification is written in [RapidAPI/Paw](https://paw.cloud/).\n\nThe specification can be be found in the root folder `hono-starter-api-spec.paw`.\n\n### Debugging with VS Code\n\n#### Start any application in `debug` mode\n\n```\nnpm run turbo:start:debug:cat-topia\n```\n\n#### Attach debugger in VS Code\n\nGo to the Command Pallete (⇧+⌘+P on macOS), and search for the action \"Debug: Attach to Node process\".\n\nChoose the node process that looks like this: `node --inspect -r ts-node/register -r tsconfig-paths/register ./src/entry-points/api/server.ts`.\n\nView the [VS Code Debug Actions documentation](https://code.visualstudio.com/Docs/editor/debugging#_debug-actions) for more information regarding the use of their debugger.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupersoniko%2Fhono-api-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupersoniko%2Fhono-api-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupersoniko%2Fhono-api-starter/lists"}