{"id":13581309,"url":"https://github.com/clerk/remix-auth-starter","last_synced_at":"2025-04-06T07:31:54.861Z","repository":{"id":40286327,"uuid":"468812837","full_name":"clerk/remix-auth-starter","owner":"clerk","description":"Add sign up, sign in, profile management, and authenticated API routes to your Remix application with the Remix Auth Starter by Clerk.","archived":true,"fork":false,"pushed_at":"2023-05-11T17:55:03.000Z","size":865,"stargazers_count":38,"open_issues_count":3,"forks_count":10,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-05T20:47:05.071Z","etag":null,"topics":["auth","authentication","clerk","react","remix","starter"],"latest_commit_sha":null,"homepage":"https://clerk-remix-starter.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","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":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-03-11T15:57:36.000Z","updated_at":"2024-07-08T16:32:13.000Z","dependencies_parsed_at":"2023-02-14T08:31:18.322Z","dependency_job_id":"e1fb70e4-f7ba-483a-af26-c92398b1c138","html_url":"https://github.com/clerk/remix-auth-starter","commit_stats":null,"previous_names":["clerk/remix-auth-starter","clerkinc/remix-auth-starter"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fremix-auth-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fremix-auth-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fremix-auth-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fremix-auth-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clerk","download_url":"https://codeload.github.com/clerk/remix-auth-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247450119,"owners_count":20940858,"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","authentication","clerk","react","remix","starter"],"created_at":"2024-08-01T15:02:00.175Z","updated_at":"2025-04-06T07:31:54.447Z","avatar_url":"https://github.com/clerk.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.clerk.dev/?utm_source=github\u0026utm_medium=starter_repos\u0026utm_campaign=remix_auth_starter\" target=\"_blank\" align=\"center\"\u003e\n    \u003cpicture\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"./docs/clerk-logo-dark.png\"\u003e\n      \u003cimg src=\"./docs/clerk-logo-light.png\" height=\"64\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n\u003c/p\u003e\n\n# Remix Auth Starter\n\nThis example shows how to use [Clerk](https://www.clerk.dev/?utm_source=github\u0026utm_medium=starter_repos\u0026utm_campaign=nextjs_starter) with [Remix](https://remix.run/).\n\n[![chat on Discord](https://img.shields.io/discord/856971667393609759.svg?logo=discord)](https://discord.com/invite/b5rXHjAg7A)\n[![documentation](https://img.shields.io/badge/documentation-clerk-green.svg)](https://docs.clerk.dev)\n[![twitter](https://img.shields.io/twitter/follow/ClerkDev?style=social)](https://twitter.com/intent/follow?screen_name=ClerkDev)\n\n---\n\n**Clerk is Hiring!**\n\nWould you like to work on Open Source software and help maintain this repository? [Apply today!](https://apply.workable.com/clerk-dev/)\n\n---\n\n\u003cdetails open\u003e\n\u003csummary\u003e\u003ch2 style=\"display: inline-block; margin-left: 4px;\"\u003eTable of contents\u003c/h2\u003e\u003c/summary\u003e\n\n* [Overview](#overview)\n* [Demo](#demo)\n* [Getting started](#getting-started)\n* [Where the magic happens](#where-the-magic-happens)\n* [Documentation](#documentation)\n* [Deployment](#deployment-vercel)\n* [License info](#license)\n\n\u003c/details\u003e\n\n## Overview\n\nThis starter demonstrates how to add authentication to your Remix application with [Clerk](https://www.clerk.dev/?utm_source=github\u0026utm_medium=starter_repos\u0026utm_campaign=remix_auth_starter). The example features adding sign up, sign in, profile management, and an authenticated API route to your Remix application.\n\nClerk works with Remix SSR and supports server-side rendering out-of-the-box and follows Remix conventions for loaders and higher-order components (HOCs).\n\n## Demo\n\nA live demo of this starter application is available at [clerk-remix-starter.vercel.app](https://clerk-remix-starter.vercel.app/)\n\n## Getting started\n\nTo run the starter application locally, you need to:\n\n1. Sign up for a Clerk account at [https://clerk.dev](https://www.clerk.dev/?utm_source=github\u0026utm_medium=starter_repos\u0026utm_campaign=remix_auth_starter)\n2. Clone this repo locally\n3. Rename the `.env.sample` to `.env` and then set the required `CLERK_PUBLISHABLE_KEY` and `CLERK_SECRET_KEY` variables from the [API keys](https://dashboard.clerk.dev/last-active?path=api-keys) screen in your Clerk dashboard.\n4. `npm install` the required dependencies\n5. `npm run dev` to start the development server\n6. Open [http://localhost:3000](http://localhost:3000) and you are ready to go!\n\n## Where the magic happens\n\nIn Remix, `app/root.tsx` wraps your entire application in both server and browser contexts. Clerk makes three modifications to this file so the authentication state is shared with your Remix routes.\n\n1. `rootAuthLoader` exported as `loader`\n2. `ClerkCatchBoundary` exported as `CatchBoundary`\n3. The default export wrapped with `ClerkApp`\n\nFor more details, please refer to the [Get started with Remix](https://clerk.dev/docs/get-started/remix/?utm_source=github\u0026utm_medium=starter_repos\u0026utm_campaign=remix_auth_starter) guide, or take a look at the [`app/root.tsx`](./app/root.tsx) file.\n\n## Documentation\n\nTo learn more about Clerk and Remix, take a look at the following resources:\n\n- [Quick start](https://clerk.dev/docs/get-started/remix?utm_source=github\u0026utm_medium=starter_repos\u0026utm_campaign=remix_auth_starter)\n- [Clerk Documentation](https://clerk.dev/docs/?utm_source=github\u0026utm_medium=starter_repos\u0026utm_campaign=remix_auth_starter)\n- [Remix Documentation](https://remix.run/docs)\n\n## Deployment (Vercel)\n\nAfter having cloned the repo you only need to [import your Git repository](https://vercel.com/new) into Vercel, and it will be deployed.\n\nIf you'd like to avoid connecting a Git repository with Vercel, you can also deploy the directory by running the [Vercel CLI](https://vercel.com/cli):\n\n```sh\nnpm i -g vercel\nvercel\n```\n\nIt is generally recommended to use a Git repository, because future commits will then automatically be deployed by Vercel, through its [Git integration](https://vercel.com/docs/concepts/git).\n\n## License\n\nThis project is licensed under the **MIT license**.\n\nSee [LICENSE](https://github.com/clerkinc/remix-auth-starter/blob/main/LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclerk%2Fremix-auth-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclerk%2Fremix-auth-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclerk%2Fremix-auth-starter/lists"}