{"id":26318957,"url":"https://github.com/clerk/clerk-nextjs-trpc-prisma","last_synced_at":"2025-03-15T15:17:00.354Z","repository":{"id":281642429,"uuid":"940744824","full_name":"clerk/clerk-nextjs-trpc-prisma","owner":"clerk","description":"Integrate Clerk into your Next.js App Router + tRPC + Prisma app","archived":false,"fork":false,"pushed_at":"2025-03-11T21:27:14.000Z","size":373,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-11T22:19:49.194Z","etag":null,"topics":["clerk","nextjs","prisma","tailwind","tanstack-query","trpc","typescript","zod"],"latest_commit_sha":null,"homepage":"https://clerk-nextjs-trpc.clerkstage.dev/","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/clerk.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-02-28T17:59:54.000Z","updated_at":"2025-03-11T21:27:18.000Z","dependencies_parsed_at":"2025-03-11T22:19:51.214Z","dependency_job_id":null,"html_url":"https://github.com/clerk/clerk-nextjs-trpc-prisma","commit_stats":null,"previous_names":["clerk/clerk-nextjs-trpc","clerk/clerk-nextjs-trpc-prisma"],"tags_count":0,"template":false,"template_full_name":"clerk/clerk-nextjs-app-quickstart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fclerk-nextjs-trpc-prisma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fclerk-nextjs-trpc-prisma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fclerk-nextjs-trpc-prisma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fclerk-nextjs-trpc-prisma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clerk","download_url":"https://codeload.github.com/clerk/clerk-nextjs-trpc-prisma/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243746241,"owners_count":20341204,"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":["clerk","nextjs","prisma","tailwind","tanstack-query","trpc","typescript","zod"],"created_at":"2025-03-15T15:16:59.880Z","updated_at":"2025-03-15T15:17:00.347Z","avatar_url":"https://github.com/clerk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://clerk.com?utm_source=github\u0026utm_medium=clerk_docs\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n    \u003cpicture\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"./public/light-logo.png\"\u003e\n      \u003cimg alt=\"Clerk Logo for light background\" src=\"./public/dark-logo.png\" height=\"64\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n\u003c/p\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003e\n    Clerk, Next.js App Router, tRPC, Prisma Demo\n  \u003c/h1\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@clerk/clerk-js\"\u003e\n    \u003cimg alt=\"Downloads\" src=\"https://img.shields.io/npm/dm/@clerk/clerk-js\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://discord.com/invite/b5rXHjAg7A\"\u003e\n    \u003cimg alt=\"Discord\" src=\"https://img.shields.io/discord/856971667393609759?color=7389D8\u0026label\u0026logo=discord\u0026logoColor=ffffff\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://twitter.com/clerkdev\"\u003e\n    \u003cimg alt=\"Twitter\" src=\"https://img.shields.io/twitter/url.svg?label=%40clerkdev\u0026style=social\u0026url=https%3A%2F%2Ftwitter.com%2Fclerkdev\" /\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n  \u003cbr /\u003e\n  \u003cimg alt=\"Clerk Hero Image\" src=\"./public/hero.png\"\u003e\n\u003c/div\u003e\n\n## Introduction\n\nClerk is a developer-first authentication and user management solution. It provides pre-built React components and hooks for sign-in, sign-up, user profile, and organization management. Clerk is designed to be easy to use and customize, and can be dropped into any React or Next.js application.\n\nThis repository demonstrates how to use Clerk to create a tRPC context that uses Clerk's authentication context, so that you can use Clerk's authentication state in your tRPC procedures. For more information, see the [guide in the Clerk Docs](https://clerk.com/docs/references/nextjs/trpc).\n\n## Deploy\n\nEasily deploy the template to Vercel with the button below. You will need to set the required environment variables in the Vercel dashboard.\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fclerk%2Fclerk-nextjs-trpc-prisma\u0026env=NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY,CLERK_SECRET_KEY\u0026envDescription=Clerk%20API%20keys\u0026envLink=https%3A%2F%2Fclerk.com%2Fdocs%2Freferences%2Fnextjs%2Ftrpc\u0026redirect-url=https%3A%2F%2Fclerk.com%2Fdocs%2Freferences%2Fnextjs%2Ftrpc)\n\n## Running the template\n\n```bash\ngit clone https://github.com/clerk/clerk-nextjs-trpc-prisma\n```\n\nTo run the example locally, you need to:\n\n1. `npm install` the required dependencies. You may need to use `--force` to handle dependency issues from the React release candidate.\n1. `npm run dev` to launch the development server.\n1. Select the \"Sign in\" button in the top-right corner of the app's homepage.\n\n## Learn more\n\nTo learn more about Clerk and Next.js, check out the following resources:\n\n- [Quickstart: Get started with Next.js and Clerk](https://clerk.com/docs/quickstarts/nextjs?utm_source=DevRel\u0026utm_medium=docs\u0026utm_campaign=templates\u0026utm_content=clerk-nextjs-trpc)\n\n- [Clerk Documentation](https://clerk.com/docs?utm_source=DevRel\u0026utm_medium=docs\u0026utm_campaign=templates\u0026utm_content=clerk-nextjs-trpc-prisma)\n- [Next.js Documentation](https://nextjs.org/docs)\n\n## Found an issue or want to leave feedback\n\nFeel free to create a support thread on our [Discord](https://clerk.com/discord). Our support team will be happy to assist you in the `#support` channel.\n\n## Connect with us\n\nYou can discuss ideas, ask questions, and meet others from the community in our [Discord](https://discord.com/invite/b5rXHjAg7A).\n\nIf you prefer, you can also find support through our [Twitter](https://twitter.com/ClerkDev), or you can [email](mailto:support@clerk.dev) us!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclerk%2Fclerk-nextjs-trpc-prisma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclerk%2Fclerk-nextjs-trpc-prisma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclerk%2Fclerk-nextjs-trpc-prisma/lists"}