{"id":26462910,"url":"https://github.com/clerk/clerk-javascript-quickstart","last_synced_at":"2025-03-19T06:26:05.736Z","repository":{"id":104053044,"uuid":"432985677","full_name":"clerk/clerk-javascript-quickstart","owner":"clerk","description":"The official companion repo for Clerk's JavaScript Quickstart","archived":false,"fork":false,"pushed_at":"2024-10-16T19:17:52.000Z","size":375,"stargazers_count":16,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-18T18:14:42.696Z","etag":null,"topics":["authentication","clerk","javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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":"2021-11-29T09:48:42.000Z","updated_at":"2024-10-16T19:17:56.000Z","dependencies_parsed_at":"2024-07-23T17:06:36.625Z","dependency_job_id":null,"html_url":"https://github.com/clerk/clerk-javascript-quickstart","commit_stats":null,"previous_names":["clerk/clerk-js-starter"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fclerk-javascript-quickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fclerk-javascript-quickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fclerk-javascript-quickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fclerk-javascript-quickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clerk","download_url":"https://codeload.github.com/clerk/clerk-javascript-quickstart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244367531,"owners_count":20441903,"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":["authentication","clerk","javascript"],"created_at":"2025-03-19T06:26:05.256Z","updated_at":"2025-03-19T06:26:05.728Z","avatar_url":"https://github.com/clerk.png","language":"JavaScript","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 JavaScript Quickstart\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. ClerkJS is our foundational JavaScript library for building user management and authentication. It enables you to register, sign in, verify, and manage users for your application using highly customizable flows.\n\nAfter following the [ClerkJS quickstart](https://clerk.com/docs/quickstarts/javascript), you will have learned how to:\n\n- Add the ClerkJS SDK to your JavaScript application\n- Use Clerk components to allow users to sign in or out\n\n### Branches of this repository\n\nTo add the [ClerkJS SDK](/docs/references/javascript/overview) to your JavaScript application, you have two options:\n\n1. Install the package using a package manager, like `npm`, `yarn`, or `pnpm`.\n2. Use the `\u003cscript\u003e` tag to load the ClerkJS package from our CDN.\n\nThe branches of this repository represent the results of these implementation:\n\n- `main`: The result of following the JavaScript quickstart if you chose `NPM module` as your preferred method.\n- `with-script-tag`: The result of following the JavaScript quickstart if you chose `\u003cscript\u003e` as your preferred method.\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-javascript-quickstart\u0026env=VITE_CLERK_PUBLISHABLE_KEY\u0026envDescription=Clerk%20API%20key\u0026envLink=https%3A%2F%2Fclerk.com%2Fdocs%2Fquickstart%2Fjavascript\u0026redirect-url=https%3A%2F%2Fclerk.com%2Fdocs%2Fquickstart%2Fjavascript)\n\n## Running the template\n\n```bash\ngit clone https://github.com/clerk/clerk-javascript-quickstart\n```\n\nTo run the example locally, you need to:\n\n\u003c!-- Need new UTM link? Replaced \"react\" with \"javascript\" for now--\u003e\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=10-24-2023\u0026utm_term=clerk-javascript-quickstart).\n\u003c!-- Need new UTM link? Replaced \"react\" with \"javascript\" for now--\u003e\n2. Go to the [Clerk dashboard](https://dashboard.clerk.com?utm_source=DevRel\u0026utm_medium=docs\u0026utm_campaign=templates\u0026utm_content=10-24-2023\u0026utm_term=clerk-javascript-quickstart) and create an application.\n\n3. Set the required Clerk environment variables as shown in [the example `env` file](./.env.sample).\n\n4. `npm install` the required dependencies.\n\n5. `npm run dev` to launch the development server.\n\n## Learn more\n\nTo learn more about Clerk and JavaScript, check out the following resources:\n\n\u003c!-- Need UTM link--\u003e\n\n- [ClerkJS SDK Reference Documentation](https://clerk.com/docs/references/javascript/overview)\n\u003c!-- Need new UTM link? Replaced \"react\" with \"javascript\" for now--\u003e\n- [Clerk Documentation](https://clerk.com/docs?utm_source=DevRel\u0026utm_medium=docs\u0026utm_campaign=templates\u0026utm_content=10-24-2023\u0026utm_term=clerk-javascript-quickstart)\n\n- [Vite Documentation](https://vitejs.dev/guide/)\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-javascript-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclerk%2Fclerk-javascript-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclerk%2Fclerk-javascript-quickstart/lists"}