{"id":15011437,"url":"https://github.com/amorriscode/elysia-starter","last_synced_at":"2025-04-12T03:31:06.159Z","repository":{"id":197468493,"uuid":"698709958","full_name":"amorriscode/elysia-starter","owner":"amorriscode","description":"A batteries included starter for building an API using bun and Elysia","archived":false,"fork":false,"pushed_at":"2024-08-05T00:55:49.000Z","size":104,"stargazers_count":14,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T23:22:24.297Z","etag":null,"topics":["awesome-bun","bun","bunjs","hacktoberfest","postgresql","railway","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/amorriscode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-09-30T18:12:22.000Z","updated_at":"2024-08-05T00:55:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"b7efd20f-d1e3-45b6-9369-3a42fc284143","html_url":"https://github.com/amorriscode/elysia-starter","commit_stats":null,"previous_names":["amorriscode/elysia-starter"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amorriscode%2Felysia-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amorriscode%2Felysia-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amorriscode%2Felysia-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amorriscode%2Felysia-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amorriscode","download_url":"https://codeload.github.com/amorriscode/elysia-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248512525,"owners_count":21116616,"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":["awesome-bun","bun","bunjs","hacktoberfest","postgresql","railway","starter","template","typescript"],"created_at":"2024-09-24T19:41:05.883Z","updated_at":"2025-04-12T03:31:04.719Z","avatar_url":"https://github.com/amorriscode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eElysia Starter\u003c/h1\u003e\n  \u003cp\u003eA batteries included API started built with \u003ca href=\"https://elysiajs.com/\" target=\"_blank\"\u003e\u003cb\u003eElysiaJS\u003c/b\u003e\u003c/a\u003e.\u003c/p\u003e\n  \u003ca href=\"https://railway.app/template/2TqJzK?referralCode=dlaCKJ\" rel=\"nofollow\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/081df3dd8cff37aab35044727b02b94a8e948052487a8c6253e190f5940d776d/68747470733a2f2f7261696c7761792e6170702f627574746f6e2e737667\" alt=\"Deploy on Railway\" data-canonical-src=\"https://railway.app/button.svg\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n## 🔋 Batteries Included\n\n- 🥟 [Bun](https://bun.sh/)\n- 👮 [TypeScript](https://www.typescriptlang.org/)\n- 🦊 [ElysiaJS](https://elysiajs.com/)\n- 🧰 [Prisma](https://prisma.io/)\n- 🐘 [Postrges](https://www.postgresql.org/)\n- 🚄 One-click [Railway](https://railway.app/) deploys\n\n## 🚀 Getting Started\n\nTo get started with this template, ensure that [Bun](https://bun.sh/) is installed.\n\n```bash\ncurl -fsSL https://bun.sh/install | bash\n```\n\n### Development\n\n1. Install dependencies\n\n```bash\nbun install\n```\n\n1. Start the development server\n\n```bash\nbun run dev\n```\n\nOpen http://localhost:3000/ with your browser to see the result.\n\n## 🏛️ Architecture and Design\n\n#### TypeIDs\n\nThis starter uses [TypeIDs](https://github.com/jetpack-io/typeid-js) which are type-safe, K-sortable, unique identifiers inspired by Stripe IDs. An example ID for a user would be `user_123456`.\n\n### API Resources\n\nEach API resource (eg. `users`) are defined in `src/resources`. Each resource has a `router.ts` and `service.ts`. All the endpoints for the resource are defined in `router.ts` and all of the business logic ends up in `service.ts`.\n\n## 🗺️ Roadmap\n\n- [ ] JWT authentication\n- [ ] Sane HTTP server defaults (CORS, etc.)\n- [ ] Better interop between Prisma and typebox\n- [ ] Example tests\n- [ ] Docker support\n- [ ] Monorepo with Next.js\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famorriscode%2Felysia-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famorriscode%2Felysia-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famorriscode%2Felysia-starter/lists"}