{"id":19057609,"url":"https://github.com/pktcodes/github-search-users-react-project","last_synced_at":"2026-04-15T10:33:47.451Z","repository":{"id":118588422,"uuid":"514710023","full_name":"pktcodes/github-search-users-react-project","owner":"pktcodes","description":"GitHub Search Users Project using React","archived":false,"fork":false,"pushed_at":"2022-10-08T04:42:49.000Z","size":1199,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-26T13:54:43.776Z","etag":null,"topics":["auth0","axios","context-api","css3","ecmascript6","github-api","github-search-user","html5","javascript","localstorage","mock-data","private-routes","react","react-hooks","react-icons","react-router","styled-components","usecontext","useeffect","usestate"],"latest_commit_sha":null,"homepage":"https://react-github-search-users-prod.netlify.app/","language":"JavaScript","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/pktcodes.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-07-17T00:05:59.000Z","updated_at":"2022-10-12T21:11:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"1ed0e05b-188c-491b-b6c8-da6e961b9701","html_url":"https://github.com/pktcodes/github-search-users-react-project","commit_stats":null,"previous_names":["pktcodes/github-search-users-react-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pktcodes/github-search-users-react-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pktcodes%2Fgithub-search-users-react-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pktcodes%2Fgithub-search-users-react-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pktcodes%2Fgithub-search-users-react-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pktcodes%2Fgithub-search-users-react-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pktcodes","download_url":"https://codeload.github.com/pktcodes/github-search-users-react-project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pktcodes%2Fgithub-search-users-react-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31837165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T10:26:52.245Z","status":"ssl_error","status_checked_at":"2026-04-15T10:26:51.649Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["auth0","axios","context-api","css3","ecmascript6","github-api","github-search-user","html5","javascript","localstorage","mock-data","private-routes","react","react-hooks","react-icons","react-router","styled-components","usecontext","useeffect","usestate"],"created_at":"2024-11-08T23:58:19.831Z","updated_at":"2026-04-15T10:33:47.425Z","avatar_url":"https://github.com/pktcodes.png","language":"JavaScript","readme":"# Github Search Users 🔍\n\u003e PROD [Live] : https://react-github-search-users-prod.netlify.app\n\n#### Github Search Users consists of a straightforward user interface where there is a \n - **Login** page with a **`Login / Sign up`** button which on click opens a  popup window handled by Auth0.\n   - The popup window gives options to log in or signup with email along with social logins i.e. *Google, LinkedIn*\n   - After successful login and authentication, the user is taken to a dashboard.\n - **Dashboard** is where we have Navbar, Search form, and the static user profile information has been set by default.\n   - **Navbar** will have the info of the user who logged in along with a **`Logout`** button which on click the user gets logged out.\n   - **Search** form is used for searching a user profile with the username and will also show how many requests are remaining for the user can query.\n   - User profile information consists of information about the user i.e. *user info, followers, and information about repositories in the form of **charts**.*\n - **Loading** GIF has been implemented, the **Error** component handles unknown route URLs and **Auth0** has been used to handle the authentication.\n - To run the project locally, clone the repo, `npm install` to install the dependencies, and `npm start` to start up the development server on default port 3000.\n \n#### Languages \nHTML, CSS, JavaScript, ECMAScript, React ~ ContextAPI - Hooks ~ useState, useEffect, useContext, React Router 6\n\n#### API\nhttps://api.github.com/\n\n#### Deployment / Hosting\n\nNetlify\n\n---\n\n## Starter Project\n\n- css provided (global styles, styled components)\n- folders/files already setup\n- all imports included (warnings)\n- index.js for easier imports\n\n## Styled Components\n\n[Styled-Components - Main Docs](https://styled-components.com/)\n\n```jsx\nimport styled from \"styled-components\";\n\nconst ReactComponent = () =\u003e {\n // logic here\n return \u003cWrapper\u003e\n {some content}\n \u003c/Wrapper\u003e\n}\n\n\nconst Wrapper = styled.htmlElement`\nwrite your styles here\n`\nexport default ReactComponent\n```\n\n## React Icons\n\n[React Icons - Main Docs](https://react-icons.github.io/react-icons/)\n\n```jsx\nimport { FiUsers, FiUserPlus } from \"react-icons/fi\";\n\u003cFiUsers className=\"nameOfTheClass\"\u003e \u003c/FiUsers\u003e;\n```\n\n## React Router Dom\n\nversion used - \"react-router-dom\": \"^5.2.0\",\n\n- [react-router-dom - Main Docs](https://reactrouter.com/web/guides/quick-start)\n\n- \u003cSwitch\u003e renders the first child \u003cRoute\u003e that matches\n- A \u003cRoute path=\"*\"\u003e always matches\n\n## Github API\n\n- [Root Endpoint](https://api.github.com)\n- [Get User](https://api.github.com/users/wesbos)\n- [Repos](https://api.github.com/users/john-smilga/repos?per_page=100)\n- [Followers](https://api.github.com/users/john-smilga/followers)\n- [Rate Limit](https://api.github.com/rate_limit)\n\n  For unauthenticated requests, the rate limit allows for up to 60 requests per hour. Unauthenticated requests are associated with the originating IP address, and not the user making requests.\n\n## Fusion Charts\n\n- [Fusion Charts - Main Docs](https://www.fusioncharts.com/)\n- [First React Chart](https://www.fusioncharts.com/dev/getting-started/react/your-first-chart-using-react)\n- [List Of Charts](https://www.fusioncharts.com/dev/chart-guide/list-of-charts)\n- [Themes](https://www.fusioncharts.com/dev/themes/introduction-to-themes)\n\n## Auth0\n\n- [Auth0 - Main Docs](https://auth0.com/)\n\n- Create Application\n- Choose : Single Page Web Applications\n- Choose : React\n- Go to Settings Tab\n- Copy/Paste Domain, ClientID - can be public (or use .env)\n- Add Domain -\n  for now http://localhost:3000 (DON'T COPY PASTE FROM URL BAR)\n\n  - Allowed Callback URLs\n  - Allowed Logout URLs\n  - Allowed Web Origins\n  - SAVE CHANGES!!!!!!!!!!!!!!!\n\n- Connections\n  email,social\n\n- [React SDK Docs](https://auth0.com/docs/libraries/auth0-react)\n- [REACT SDK API Docs](https://auth0.github.io/auth0-react/)\n\n## Deployment\n\n[Netlify](https://www.netlify.com/)\n\n## Additional Info\n\n#### Redirects with react-router-dom\n\nIn order for routing to work on netlify, redirects was added to the public folder\n\n- \\_redirects file in public\n\n```\n\n/*    /index.html   200\n\n```\n\n[Redirects Blog Post](https://dev.to/dance2die/page-not-found-on-netlify-with-react-router-58mc)\n\n#### Warnings and create-react-app\n\npackage.json\n\n```js\n\"build\": \"CI= react-scripts build\",\n```\n\n[create-react-app Warning Fix Blog Post](https://community.netlify.com/t/how-to-fix-build-failures-with-create-react-app-in-production/17752)\n\n---\n\n_Note: I have developed this project as part of React and Projects Course taught by John Smilga._\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpktcodes%2Fgithub-search-users-react-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpktcodes%2Fgithub-search-users-react-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpktcodes%2Fgithub-search-users-react-project/lists"}