{"id":26462897,"url":"https://github.com/clerk/clerk-instantdb-nextjs","last_synced_at":"2025-03-19T06:25:54.670Z","repository":{"id":265027117,"uuid":"852899523","full_name":"clerk/clerk-instantdb-nextjs","owner":"clerk","description":"The official companion repo for Clerk's Instant integration using Next.js App Router","archived":false,"fork":false,"pushed_at":"2024-09-05T17:48:40.000Z","size":380,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-10T11:35:50.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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":"2024-09-05T16:10:18.000Z","updated_at":"2025-02-11T01:16:26.000Z","dependencies_parsed_at":"2024-11-27T08:44:50.780Z","dependency_job_id":"7a3a9b7c-ade8-40ca-826f-a592989cd5d3","html_url":"https://github.com/clerk/clerk-instantdb-nextjs","commit_stats":null,"previous_names":["clerk/clerk-instantdb-nextjs"],"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-instantdb-nextjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fclerk-instantdb-nextjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fclerk-instantdb-nextjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fclerk-instantdb-nextjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clerk","download_url":"https://codeload.github.com/clerk/clerk-instantdb-nextjs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244367480,"owners_count":20441895,"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-19T06:25:53.974Z","updated_at":"2025-03-19T06:25:54.662Z","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, InstantDB, and Next.js App Router 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\n[Clerk](https://clerk.com/) 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\n[InstantDB](https://instantdb.com/) is a real-time, client-side database that allows developers to easily build collaborative, offline-enabled applications without worrying about backend infrastructure.\n\nIntegrating InstantDB with Clerk gives you the benefits of using an InstantDB database while leveraging Clerk's authentication, prebuilt components, and webhooks.\n\nAfter following [the Clerk + InstantDB integration guide](https://clerk.com/docs/integrations/databases/instantdb), you will have learned how to:\n  - Configure your Clerk session token to include the email claim.\n  - Configure InstantDB to use your Clerk application.\n  - Integrate InstantDB into your Clerk application.\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-instantdb-nextjs\u0026env=NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY,CLERK_SECRET_KEY\u0026envDescription=Clerk%20API%20keys\u0026envLink=https%3A%2F%2Fclerk.com%2Fdocs%2Fintegrations%2Fdatabases%2Finstantdb\u0026redirect-url=https%3A%2F%2Fclerk.com%2Fdocs%2Fintegrations%2Fdatabases%2Finstantdb)\n\n## Running the template\n\n```bash\ngit clone https://github.com/clerk/clerk-instantdb-nextjs\n```\n\nTo run the example locally, you need to:\n\n1. Sign up for a Clerk account at [https://clerk.com](https://dashboard.clerk.com/sign-up?utm_source=DevRel\u0026utm_medium=docs\u0026utm_campaign=templates\u0026utm_content=clerk-instantdb-nextjs).\n\n2. Go to the [Clerk dashboard](https://dashboard.clerk.com?utm_source=DevRel\u0026utm_medium=docs\u0026utm_campaign=templates\u0026utm_content=clerk-instantdb-nextjs) and create an application.\n\n3. Set the required Clerk environment variables as shown in [the example `env.local.example` file](./.env.local.example).\n\n4. `npm install` the required dependencies.\n\n5. Follow [the Clerk + InstantDB integration guide](https://clerk.com/docs/integrations/databases/instantdb) to set up your Instant database.\n\n6. `npm run dev` to launch the development server.\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-instantdb-nextjs)\n\n- [Clerk Documentation](https://clerk.com/docs?utm_source=DevRel\u0026utm_medium=docs\u0026utm_campaign=templates\u0026utm_content=clerk-instantdb-nextjs)\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-instantdb-nextjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclerk%2Fclerk-instantdb-nextjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclerk%2Fclerk-instantdb-nextjs/lists"}