{"id":18772667,"url":"https://github.com/authgear/authgear-example-react","last_synced_at":"2025-09-01T21:31:20.914Z","repository":{"id":51360086,"uuid":"518343793","full_name":"authgear/authgear-example-react","owner":"authgear","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-03T13:02:34.000Z","size":827,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-12-03T14:19:15.185Z","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/authgear.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}},"created_at":"2022-07-27T06:53:32.000Z","updated_at":"2024-12-03T13:04:37.000Z","dependencies_parsed_at":"2022-08-25T13:01:48.885Z","dependency_job_id":null,"html_url":"https://github.com/authgear/authgear-example-react","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authgear%2Fauthgear-example-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authgear%2Fauthgear-example-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authgear%2Fauthgear-example-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authgear%2Fauthgear-example-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/authgear","download_url":"https://codeload.github.com/authgear/authgear-example-react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231714206,"owners_count":18415389,"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":"2024-11-07T19:29:51.586Z","updated_at":"2025-09-01T21:31:20.897Z","avatar_url":"https://github.com/authgear.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Getting Started with Authgear React Tutorial Demo App\n\nThis repo is the sample code of this tutorial: https://docs.authgear.com/tutorials/spa/react\n\nYou can follow the tutorial to learn how to integrate Authgear with your React single page applications.\n\n## Environment setup\n\nCreate a `.env` file on the root directory of your project then copy and paste the content of `.env.template` to it. \n\nAdd the values for your own Authgear client application's Client ID and Endpoint in the corresponding key.\n\nEnsure to add `http://localhost:4000/auth-redirect` as a redirect URI for your application in Authgear Portal.\n\nRun `npm install` to install project dependencies.\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `npm run dev`\n\nRuns the app in the development mode.\\\nOpen [http://localhost:4000](http://localhost:4000) to view it in the browser.\n\nThe page will reload if you make edits.\\\nYou will also see any lint errors in the console.\n\n### `npm run build`\n\nBuilds the app for production to the `dist` folder.\\\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\\\nYour app is ready to be deployed!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauthgear%2Fauthgear-example-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauthgear%2Fauthgear-example-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauthgear%2Fauthgear-example-react/lists"}