{"id":26745178,"url":"https://github.com/dotnize/react-tanstarter","last_synced_at":"2025-05-16T12:06:47.213Z","repository":{"id":255113025,"uuid":"846384296","full_name":"dotnize/react-tanstarter","owner":"dotnize","description":"minimal TanStack Start template with React 19, Better Auth, Drizzle ORM, shadcn/ui","archived":false,"fork":false,"pushed_at":"2025-04-07T12:16:31.000Z","size":186,"stargazers_count":372,"open_issues_count":1,"forks_count":25,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-04-12T11:13:34.370Z","etag":null,"topics":["auth","better-auth","boilerplate","drizzle","postgresql","react","router","saas","shadcn","shadcn-ui","start","starter","starter-kit","tailwind","tailwindcss","tanstack","tanstack-router","tanstack-start","template"],"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/dotnize.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":"2024-08-23T05:08:16.000Z","updated_at":"2025-04-12T07:41:07.000Z","dependencies_parsed_at":"2024-12-17T18:11:50.602Z","dependency_job_id":"4a8a0216-7442-4ccb-8d6f-e2ef997fa258","html_url":"https://github.com/dotnize/react-tanstarter","commit_stats":null,"previous_names":["dotnize/tanstart","dotnize/react-tanstarter"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnize%2Freact-tanstarter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnize%2Freact-tanstarter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnize%2Freact-tanstarter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnize%2Freact-tanstarter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotnize","download_url":"https://codeload.github.com/dotnize/react-tanstarter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248590663,"owners_count":21129870,"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":["auth","better-auth","boilerplate","drizzle","postgresql","react","router","saas","shadcn","shadcn-ui","start","starter","starter-kit","tailwind","tailwindcss","tanstack","tanstack-router","tanstack-start","template"],"created_at":"2025-03-28T08:04:32.960Z","updated_at":"2025-05-16T12:06:47.206Z","avatar_url":"https://github.com/dotnize.png","language":"TypeScript","readme":"# [React TanStarter](https://github.com/dotnize/react-tanstarter)\n\nA minimal starter template for 🏝️ TanStack Start. [→ Preview here](https://tanstarter.nize.ph/)\n\n- [React 19](https://react.dev) + [React Compiler](https://react.dev/learn/react-compiler)\n- TanStack [Start](https://tanstack.com/start/latest) + [Router](https://tanstack.com/router/latest) + [Query](https://tanstack.com/query/latest)\n- [Tailwind CSS v4](https://tailwindcss.com/) + [shadcn/ui](https://ui.shadcn.com/)\n- [Drizzle ORM](https://orm.drizzle.team/) + PostgreSQL\n- [Better Auth](https://www.better-auth.com/)\n\n## Getting Started\n\n1. [Use this template](https://github.com/new?template_name=react-tanstarter\u0026template_owner=dotnize) or clone this repository with gitpick:\n\n   ```bash\n   npx gitpick dotnize/react-tanstarter myapp\n   cd myapp\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   pnpm install\n   ```\n\n3. Create a `.env` file based on [`.env.example`](./.env.example).\n\n4. Push the schema to your database with drizzle-kit:\n\n   ```bash\n   pnpm db push\n   ```\n\n   https://orm.drizzle.team/docs/migrations\n\n5. Run the development server:\n\n   ```bash\n   pnpm dev\n   ```\n\n   The development server should now be running at [http://localhost:3000](http://localhost:3000).\n\n## Issue watchlist\n\n- [React Compiler docs](https://react.dev/learn/react-compiler), [Working Group](https://github.com/reactwg/react-compiler/discussions) - React Compiler is in RC.\n- https://github.com/TanStack/router/discussions/2863 - TanStack Start is in beta and may still undergo major changes.\n\n## Goodies\n\n#### Scripts\n\nThese scripts in [package.json](./package.json#L5) use **pnpm** by default, but you can modify them to use your preferred package manager.\n\n- **`auth:generate`** - Regenerate the [auth db schema](./src/lib/server/schema/auth.schema.ts) if you've made changes to your Better Auth [config](./src/lib/server/auth.ts).\n- **`db`** - Run drizzle-kit commands. (e.g. `pnpm db generate` to generate a migration)\n- **`ui`** - The shadcn/ui CLI. (e.g. `pnpm ui add button` to add the button component)\n- **`format`** and **`lint`** - Run Prettier and ESLint.\n- **`deps`** - Selectively upgrade dependencies via npm-check-updates.\n\n#### Utilities\n\n- [`auth-guard.ts`](./src/lib/middleware/auth-guard.ts) - Sample middleware for forcing authentication on server functions. (see [#5](https://github.com/dotnize/react-tanstarter/issues/5#issuecomment-2615905686) and [#17](https://github.com/dotnize/react-tanstarter/issues/17#issuecomment-2853482062))\n- [`ThemeToggle.tsx`](./src/components/ThemeToggle.tsx) - A simple component to toggle between light and dark mode. ([#7](https://github.com/dotnize/react-tanstarter/issues/7))\n\n## Building for production\n\nRead the [hosting docs](https://tanstack.com/start/latest/docs/framework/react/hosting) for information on how to deploy your TanStack Start app.\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnize%2Freact-tanstarter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotnize%2Freact-tanstarter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnize%2Freact-tanstarter/lists"}