{"id":24489754,"url":"https://github.com/amanvarshney01/better-t-stack","last_synced_at":"2025-04-08T20:28:47.651Z","repository":{"id":273219528,"uuid":"918970895","full_name":"better-t-stack/Better-T-Stack","owner":"better-t-stack","description":"Tanstack Router, Hono, tRPC, Better Auth, Drizzle, Tailwind Template","archived":false,"fork":false,"pushed_at":"2025-03-21T20:24:30.000Z","size":579,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T21:25:38.731Z","etag":null,"topics":["better-auth","drizzle-orm","hono","tailwindcss","tanstack-router","trpc","turso","typescript"],"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/better-t-stack.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-19T11:26:19.000Z","updated_at":"2025-03-18T21:52:43.000Z","dependencies_parsed_at":"2025-02-14T14:27:05.467Z","dependency_job_id":"af032ca1-d2b3-44a6-bc2e-a018d5908833","html_url":"https://github.com/better-t-stack/Better-T-Stack","commit_stats":null,"previous_names":["amanvarshney01/htt-stack","amanvarshney01/tht","amanvarshney01/better-t-stack","better-t-stack/better-t-stack"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/better-t-stack%2FBetter-T-Stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/better-t-stack%2FBetter-T-Stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/better-t-stack%2FBetter-T-Stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/better-t-stack%2FBetter-T-Stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/better-t-stack","download_url":"https://codeload.github.com/better-t-stack/Better-T-Stack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247921952,"owners_count":21018689,"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":["better-auth","drizzle-orm","hono","tailwindcss","tanstack-router","trpc","turso","typescript"],"created_at":"2025-01-21T17:15:43.099Z","updated_at":"2025-04-08T20:28:47.642Z","avatar_url":"https://github.com/better-t-stack.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Better-T Stack\n\nA modern TypeScript monorepo template powered by Hono, tRPC, TanStack Router, Tailwind CSS, shadcn/ui, Better-Auth, and\nDrizzle with libSQL - all bundled together with Bun for maximum performance.\n\n## 🚀 Tech Stack\n\n### Core\n- [Bun](https://bun.sh/) - Fast all-in-one JavaScript runtime\n- [TypeScript](https://www.typescriptlang.org/) - Type safety across the stack\n- [tRPC](https://trpc.io/) - End-to-end type-safe APIs\n\n### Frontend\n- [TanStack Router](https://tanstack.com/router) - Type-safe routing\n- [Tailwind CSS](https://tailwindcss.com/) - Utility-first CSS framework\n- [shadcn/ui](https://ui.shadcn.com/) - Re-usable components\n\n### Backend\n- [Hono](https://hono.dev/) - Ultrafast web framework\n- [Better-Auth](https://www.better-auth.com/) - Modern authentication solution\n- [Drizzle ORM](https://orm.drizzle.team/) - TypeScript ORM\n- [libSQL](https://github.com/libsql/libsql) - SQLite-compatible database engine\n\n## 📁 Project Structure\n\n```bash\n.\n├── packages/\n│   ├── client/                 # Frontend React application\n│   │   ├── src/\n│   │   │   ├── components/    # UI components\n│   │   │   ├── routes/        # TanStack Router routes\n│   │   │   └── lib/           # Utilities and configurations\n│   │   └── ...\n│   └── server/                 # Backend Hono API\n│       ├── src/\n│       │   ├── db/            # Database schema and config\n│       │   ├── lib/           # Auth and tRPC setup\n│       │   └── routers/       # tRPC routers\n│       └── ...\n```\n\n## 🚦 Getting Started\n\n1. Clone (or use github template) and install dependencies:\n```bash\nnpx degit AmanVarshney01/Better-T-Stack my-project\ncd my-project\nbun install\n```\n\n2. Set up the database:\n```bash\n# Start local SQLite database with turso\nbun run db:local\n\n# Push database schema\nbun run db:push\n```\n\n3. Start development servers:\n```bash\n# Start both client and server\nbun run dev\n\n# Or individually:\nbun run dev:client\nbun run dev:server\n```\n\nThe client will be available at `http://localhost:3001`\n\n## 📝 Available Scripts\n\n### Root\n- `bun dev` - Start all development servers\n- `bun dev:client` - Start client development server\n- `bun dev:server` - Start server development server\n- `bun db:local` - Start local SQLite database\n- `bun db:push` - Push database schema changes\n- `bun clean` - Clean all node_modules and lock files\n\n### Client\n- `bun typecheck` - Run TypeScript type checking\n- `bun build` - Build for production\n- `bun serve` - Preview production build\n\n### Server\n- `bun dev` - Start development server with hot reload\n- `bun wrangler:dev` - Run with Cloudflare Workers locally\n- `bun wrangler:deploy` - Deploy to Cloudflare Workers\n\n## 💻 Development\n\nThis template is configured for an optimal development experience out of the box:\n\n- Full-stack TypeScript configuration\n- End-to-end type safety with tRPC\n- Modern authentication with Better-Auth\n- Beautiful UI components from shadcn/ui\n- Fast development server with Bun\n- Production-ready with Cloudflare Workers support\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famanvarshney01%2Fbetter-t-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famanvarshney01%2Fbetter-t-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famanvarshney01%2Fbetter-t-stack/lists"}