{"id":26462907,"url":"https://github.com/clerk/clerk-cypress-nextjs","last_synced_at":"2025-03-19T06:26:01.940Z","repository":{"id":104053585,"uuid":"558990404","full_name":"clerk/clerk-cypress-nextjs","owner":"clerk","description":"Example repo using Clerk, Cypress and NextJS","archived":false,"fork":false,"pushed_at":"2024-12-13T15:39:44.000Z","size":507,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-13T17:15:19.595Z","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":"2022-10-28T19:06:11.000Z","updated_at":"2024-12-13T15:39:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"c1968dc4-291b-4894-8cda-7485d9fe7cb8","html_url":"https://github.com/clerk/clerk-cypress-nextjs","commit_stats":null,"previous_names":["clerk/example-cypress-nextjs","clerk/clerk-cypress-nextjs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fclerk-cypress-nextjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fclerk-cypress-nextjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fclerk-cypress-nextjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clerk%2Fclerk-cypress-nextjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clerk","download_url":"https://codeload.github.com/clerk/clerk-cypress-nextjs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244367513,"owners_count":20441898,"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:26:01.346Z","updated_at":"2025-03-19T06:26:01.932Z","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 and Next.js App Router with Cypress E2E tests 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. 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\nAfter following the quickstart you'll have learned how to:\n\n- Install `@clerk/nextjs`\n- Set your Clerk API keys\n- Add Clerk's middleware\n- Add `\u003cClerkProvider /\u003e` and Clerk components\n- Run E2E Cypress tests\n\n## Running the template\n\n```bash\nnpm run cypress:open\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-nextjs-app-quickstart).\n1. Go to the [Clerk dashboard](https://dashboard.clerk.com?utm_source=DevRel\u0026utm_medium=docs\u0026utm_campaign=templates\u0026utm_content=clerk-nextjs-app-quickstart) and create an application.\n1. Set the required Clerk environment variables as shown in [the example `env.local.example` file](./.env.local.example).\n1. `npm install` the required dependencies.\n1. `npm run dev` to launch the development server.\n\n## Testing\n\n1. See the `testing-tokens.cy.ts` file for Cypress E2E tests.\n1. Set the `test_user` and `test_password` to the credentials of the test account shown in [the example `.cypress.env.json.example` file](./cypress.env.json.example).\n1. `npm run cypress:open` to launch the development server. This will open the Cypress window, which must remain open throughout testing.\n1. In Cypress, choose your preferred browser to test. A new browser window should open.\n1. From `Specs`, select a test to run it.\n\nIf you aren't running your app on `localhost:3000`, update the `baseUrl` in `cypress.config.ts` to match your development server's URL.\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-cypress-nextjs)\n- [Clerk Documentation](https://clerk.com/docs?utm_source=DevRel\u0026utm_medium=docs\u0026utm_campaign=templates\u0026utm_content=clerk-cypress-nextjs)\n- [Next.js Documentation](https://nextjs.org/docs)\n- [Testing with Cypress](https://clerk.com/docs/testing/cypress?utm_source=DevRel\u0026utm_medium=docs\u0026utm_campaign=templates\u0026utm_content=clerk-cypress-nextjs)\n- [Cypress Documentation](https://docs.cypress.io/app/get-started/why-cypress)\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-cypress-nextjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclerk%2Fclerk-cypress-nextjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclerk%2Fclerk-cypress-nextjs/lists"}