{"id":26869400,"url":"https://github.com/daveyplate/better-auth-nextjs-pages-starter","last_synced_at":"2025-03-31T06:01:28.429Z","repository":{"id":281807903,"uuid":"946469719","full_name":"daveyplate/better-auth-nextjs-pages-starter","owner":"daveyplate","description":"Better Auth Next.js (Pages Router) starter template with PostgreSQL, Drizzle, shadcn/ui and TanStack Query","archived":false,"fork":false,"pushed_at":"2025-03-22T20:37:07.000Z","size":263,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T21:32:51.084Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://nextjs-pages.better-auth-starter.com","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/daveyplate.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-03-11T07:30:55.000Z","updated_at":"2025-03-22T20:37:10.000Z","dependencies_parsed_at":"2025-03-11T09:23:35.160Z","dependency_job_id":"804194fd-40de-49e7-97fd-fa94ca952a05","html_url":"https://github.com/daveyplate/better-auth-nextjs-pages-starter","commit_stats":null,"previous_names":["daveyplate/better-auth-nextjs-pages-starter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daveyplate%2Fbetter-auth-nextjs-pages-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daveyplate%2Fbetter-auth-nextjs-pages-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daveyplate%2Fbetter-auth-nextjs-pages-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daveyplate%2Fbetter-auth-nextjs-pages-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daveyplate","download_url":"https://codeload.github.com/daveyplate/better-auth-nextjs-pages-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246423731,"owners_count":20774820,"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":[],"created_at":"2025-03-31T06:01:27.187Z","updated_at":"2025-03-31T06:01:28.416Z","avatar_url":"https://github.com/daveyplate.png","language":"TypeScript","funding_links":[],"categories":["Starter Kits"],"sub_categories":[],"readme":"# Better Auth Next.js Starter (Pages Router)\n\n[Demo](https://nextjs-pages.better-auth-starter.com)\n\n- [App Router](https://github.com/daveyplate/better-auth-nextjs-starter)\n\n## Installation\n\nFirst, create a PostgreSQL Database then configure your environment variables.\n\nYou can generate a `BETTER_AUTH_SECRET` [here](https://www.better-auth.com/docs/installation#set-environment-variables).\n\n```bash\nBETTER_AUTH_SECRET=\"\"\nDATABASE_URL=\"\"\n```\n\nThen generate your schema and perform migrations with drizzle-kit.\n\n```bash\nnpx @better-auth/cli generate\nnpx drizzle-kit generate\nnpx drizzle-kit migrate\n```\n\n- Twitter: [@daveycodez](https://x.com/daveycodez)\n\n## Features:\n\n[Better Auth](https://better-auth.com)\n\n[Better Auth UI](https://better-auth-ui.com)\n\n[Better Auth TanStack](https://github.com/daveyplate/better-auth-tanstack)\n\n[TanStack Query](https://tanstack.com/query)\n\n[shadcn/ui](https://ui.shadcn.com)\n\n[TailwindCSS](https://tailwindcss.com)\n\n[Drizzle ORM](https://orm.drizzle.team)\n\n[PostgreSQL](https://postgresql.org)\n\n[Biome](https://biomejs.dev)\n\n[Next.js](https://nextjs.org)\n\n[Turborepo](https://turbo.build)\n\n## Next.js\n\nThis is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/pages/api-reference/create-next-app).\n\n## Getting Started\n\nFirst, run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n# or\nbun dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nYou can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.\n\n[API routes](https://nextjs.org/docs/pages/building-your-application/routing/api-routes) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.\n\nThe `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/pages/building-your-application/routing/api-routes) instead of React pages.\n\nThis project uses [`next/font`](https://nextjs.org/docs/pages/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.\n\n## Learn More\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n- [Learn Next.js](https://nextjs.org/learn-pages-router) - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!\n\n## Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme) from the creators of Next.js.\n\nCheck out our [Next.js deployment documentation](https://nextjs.org/docs/pages/building-your-application/deploying) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaveyplate%2Fbetter-auth-nextjs-pages-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaveyplate%2Fbetter-auth-nextjs-pages-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaveyplate%2Fbetter-auth-nextjs-pages-starter/lists"}