{"id":25725133,"url":"https://github.com/sultanfariz/bun-api-starter","last_synced_at":"2026-04-07T08:01:58.223Z","repository":{"id":204513137,"uuid":"699921045","full_name":"sultanfariz/bun-api-starter","owner":"sultanfariz","description":"A simple but complete TypeScript API starter boilerplate in Bun runtime environment. Already covered transactional queries, input validation, JWT auth, and exception handling. Also helpful for VSCode user (debugger etc.)","archived":false,"fork":false,"pushed_at":"2023-11-14T14:52:32.000Z","size":104,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-25T22:19:31.169Z","etag":null,"topics":["boilerplate","bun","expressjs","jwt","middlewares","typescript","vscode-debugger"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sultanfariz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-03T15:44:00.000Z","updated_at":"2024-07-11T23:42:25.000Z","dependencies_parsed_at":"2023-11-11T17:45:07.749Z","dependency_job_id":null,"html_url":"https://github.com/sultanfariz/bun-api-starter","commit_stats":null,"previous_names":["sultanfariz/bun-api-starter"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/sultanfariz/bun-api-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sultanfariz%2Fbun-api-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sultanfariz%2Fbun-api-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sultanfariz%2Fbun-api-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sultanfariz%2Fbun-api-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sultanfariz","download_url":"https://codeload.github.com/sultanfariz/bun-api-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sultanfariz%2Fbun-api-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31504897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["boilerplate","bun","expressjs","jwt","middlewares","typescript","vscode-debugger"],"created_at":"2025-02-25T22:19:38.654Z","updated_at":"2026-04-07T08:01:58.189Z","avatar_url":"https://github.com/sultanfariz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TypeScript Bun API Starter\n\nA simple and customizable TypeScript API boilerplate for Bun projects.\n\n## Table of Contents\n- [Getting Started](#getting-started)\n- [Installation](#installation)\n- [File Structures](#file-structures)\n\n## Getting Started\n\n### Installation\n\n1. Clone this repository:\n  ```sh\n  git clone https://github.com/yourusername/typescript-node-boilerplate.git\n  cd typescript-node-boilerplate\n  ```\n2. Install dependencies:\n  ```bash\n  bun install\n  ```\n3. Configure the project as needed. You may need to set environment variables from **\n4. To start the development server:\n  ```bash\n  bun run index.ts\n  ```\n  \u003eor you also could run debugger if you use Visual Studio Code. \n\n5. Create new routes, controllers, and repositories in the src directory.\n\n### File Structures\n```\n.\n└── src/\n    ├── controllers/\n    │   └── ${...}Controller.ts -\u003e configurable\n    └── infrastructure/\n        ├── commons/\n        │   ├── exceptions/\n        │   │   ├── index.ts\n        │   │   ├── CustomError.ts\n        │   │   └── ${...}Error.ts -\u003e configurable\n        │   └── middlewares\n        ├── repository/\n        │   ├── gsheet -\u003e configurable\n        │   │   └── user\n        │   └── prisma -\u003e configurable\n        │       ├── user\n        │       └── admin\n        ├── transport/\n        │   └── validator/\n        │       ├── index.ts\n        │       └── ${...}Schema.ts -\u003e configurable\n        ├── routes\n        └── app.ts\n```\n\u003eyou can insert any file or folder on the 'configurable' mark in above diagram.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsultanfariz%2Fbun-api-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsultanfariz%2Fbun-api-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsultanfariz%2Fbun-api-starter/lists"}