{"id":21500339,"url":"https://github.com/shadieid/react-testing","last_synced_at":"2025-03-17T13:17:33.958Z","repository":{"id":249826892,"uuid":"832580768","full_name":"ShadiEid/react-testing","owner":"ShadiEid","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-20T08:36:28.000Z","size":408,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T22:43:47.565Z","etag":null,"topics":["fakerjs","jsdom","json-server","mswjs","testing-library","vitest","zod"],"latest_commit_sha":null,"homepage":"","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/ShadiEid.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-07-23T10:03:28.000Z","updated_at":"2024-10-20T08:36:32.000Z","dependencies_parsed_at":"2024-11-23T17:45:38.816Z","dependency_job_id":null,"html_url":"https://github.com/ShadiEid/react-testing","commit_stats":null,"previous_names":["shadieid/react-testing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShadiEid%2Freact-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShadiEid%2Freact-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShadiEid%2Freact-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShadiEid%2Freact-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShadiEid","download_url":"https://codeload.github.com/ShadiEid/react-testing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244039238,"owners_count":20387835,"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":["fakerjs","jsdom","json-server","mswjs","testing-library","vitest","zod"],"created_at":"2024-11-23T17:35:28.607Z","updated_at":"2025-03-17T13:17:33.932Z","avatar_url":"https://github.com/ShadiEid.png","language":"TypeScript","readme":"# Testing React Apps\n\nThis is the project for my Reacting testing.\n\n## About this Project \n\nThis is a React app built with the following technologies and libraries: \n\n- Auth0 \n- Tailwind \n- RadixUI\n- React Router \n- React Query  \n- Redux Toolkit \n\nPlease follow these instructions carefully to setup this project on your machine. \n\n## Setting up Auth0 for Authentication\n\n1. **Sign up for an Auth0 Account:**\n\n   If you don't already have an Auth0 account, you can sign up for one at [https://auth0.com/](https://auth0.com/). Auth0 offers a free tier that you can use for your project.\n\n2. **Create a New Application:**\n\n   - Log in to your Auth0 account.\n   - Go to the Auth0 Dashboard.\n   - Click on \"Applications\" in the left sidebar.\n   - Click the \"Create Application\" button.\n   - Give your application a name (e.g., \"My React App\").\n   - Select \"Single Page Web Applications\" as the application type.\n\n3. **Configure Application Settings:**\n\n   - On the application settings page, configure the following settings:\n     - Allowed Callback URLs: `http://localhost:5173` \n     - Allowed Logout URLs: `http://localhost:5173` \n     - Allowed Web Origins: `http://localhost:5173`\n   - Save the changes.\n\n4. **Obtain Auth0 Domain and ClientID:**\n\n   - On the application settings page, you will find your Auth0 Domain and Client ID near the top of the page.\n   - Copy the Auth0 Domain (e.g., `your-auth0-domain.auth0.com`) and Client ID (e.g., `your-client-id`).\n\n5. **Create a `.env.local` File:**\n\n   - In the root directory of the project, you'll find a sample `.env` file. Make a copy and save it as `.env.local`.\n   - Replace the Auth0 Domain and Client ID with the actual values you obtained from Auth0.\n\n\n## Running the App\n\nNow that you have set up Auth0 and configured your environment variables, you can run the React app using the following commands:\n\n```bash\n# Install dependencies\nnpm install\n\n# Start the development server\nnpm start\n```\n\nThis will start the back-end process at `http://localhost:3000`. If port 3000 is in use on your machine, update the port number in the following files and run `npm start` again: \n\n- json-server.json\n- src/main.tsx\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadieid%2Freact-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshadieid%2Freact-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadieid%2Freact-testing/lists"}