{"id":25877253,"url":"https://github.com/rh9891/gitsearch","last_synced_at":"2025-03-02T11:19:44.740Z","repository":{"id":196350321,"uuid":"293243561","full_name":"rh9891/gitSearch","owner":"rh9891","description":"A search-based, React application that utilizes the Context API along with the useContext and useReducer hooks for state management. Application also utilizes the Github API to search for Github users.","archived":false,"fork":false,"pushed_at":"2021-09-09T18:45:17.000Z","size":23306,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-09-24T17:38:30.592Z","etag":null,"topics":["context-api","github-api","hooks","netlify","react","usecontext-hook","usereducer-hooks"],"latest_commit_sha":null,"homepage":"https://find-users-on-github.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/rh9891.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}},"created_at":"2020-09-06T09:27:15.000Z","updated_at":"2023-09-24T17:38:56.702Z","dependencies_parsed_at":"2023-09-24T17:55:33.908Z","dependency_job_id":null,"html_url":"https://github.com/rh9891/gitSearch","commit_stats":null,"previous_names":["rh9891/gitsearch"],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rh9891%2FgitSearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rh9891%2FgitSearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rh9891%2FgitSearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rh9891%2FgitSearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rh9891","download_url":"https://codeload.github.com/rh9891/gitSearch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241494729,"owners_count":19971968,"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":["context-api","github-api","hooks","netlify","react","usecontext-hook","usereducer-hooks"],"created_at":"2025-03-02T11:19:44.287Z","updated_at":"2025-03-02T11:19:44.734Z","avatar_url":"https://github.com/rh9891.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitSearch\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Table of Contents\n\n- [Description](#description)\n- [User Story](#user-story)\n- [Features of the Application](#features-of-the-application)\n- [Preview of gitSearch](#preview-of-gitsearch)\n- [Links](#links)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Built Using](#built-using)\n- [License](#license)\n- [Contributing](#contributing)\n- [Questions](#questions)\n\n## Description\n\ngitSearch is a responsive, dynamic application that searches for Github users through an input form. Upon a user's search, the application generates a list of all the Github users matching the inputted term onto a grid format. Clicking on the `More` button allows the user access to additional Github information for that searched user, such as their bio, website, location, five most recent repositories, their Github profile page, among other things.\n\ngitSearch is a React application that utilizes the Context API along with the useContext and useReducer hooks for state management. The application also utilizes the Github API to search for Github users by their username and name to display the user's profile and other relevant information.\n\nSince this application was created, Github made changes to their authentication process via URL query parameters. Because of this, an access token was created (with no permissions) and utilized in the application. The code was also refactored to have less actions and reducers and reduce code while producing the same functionality as before.\n\n## User Story\n\n```\nAS A user\nI WANT to search for Github users\nSO THAT I can access their bios, repositories, and other relevant information.\n```\n\n## Features of the Application\n\n```\nGIVEN a search-based application\nWHEN I input a term to find a Github user and click on `Search`\nTHEN all users matching that search term will be displayed in a grid format.\n\nWHEN I click on `More` (under the user's profile picture)\nTHEN I will access that user's name, username, bio, website, location, five most recent repositories, and other relevant information.\n\nWHEN I click on `Visit Github Profile` (beneath the user's bio)\nTHEN I will access that user's Github profile page via Github.\n\nWHEN I click on any of the displayed repository names\nTHEN I will be taken to that repository's Github page.\n\nWHEN I click on `Back to Search`\nTHEN I will taken back to the search page.\n\nWHEN I click on `Clear` (beneath the Search button)\nTHEN I will have cleared the results of the current search.\n```\n\n## Preview of gitSearch\n\n![gitSearch Preview](assets/images/gitSearchPreview.png)\n\n## Links\n\n- [Deployed Application](https://find-users-on-github.netlify.app/)\n\n- [Github Repository](https://github.com/rh9891/gitSearch)\n\n## Installation\n\nThe application requires the following dependencies and/or package managers:\n\n```\n$ npm install axios react react-router-dom\n```\n\nWhen downloaded, the application requires the input of `npm install` into the command line interface in order to download the contents of the `package.json`.\n\n## Usage\n\nThe application can be initiated by inputting `npm start` into the command line interface and running the application on `localhost: 3000`.\n\n## Built Using\n\nListed below are the frameworks, libraries, and guides that made building this application possible:\n\n- [Context](https://reactjs.org/docs/context.html)\n- [Github REST API](https://docs.github.com/en/rest/overview)\n- [React](https://reactjs.org/docs/getting-started.html)\n- [Traversy Media Tutorials](https://www.traversymedia.com/)\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2020-2021 Romie Hecdivert\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n## Contributing\n\nIf you would like to contribute to this repository, please contact me via [Github](https://github.com/rh9891).\n\n## Questions\n\nIf you have any questions, comments, or issues regarding this application, please do not hesitate to contact me via [Github](https://github.com/rh9891).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frh9891%2Fgitsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frh9891%2Fgitsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frh9891%2Fgitsearch/lists"}