{"id":20366040,"url":"https://github.com/warborn/github-battle","last_synced_at":"2026-04-09T16:02:59.284Z","repository":{"id":89987107,"uuid":"96465324","full_name":"warborn/github-battle","owner":"warborn","description":"React SPA to view popular Github repositories and compare users, based on the React Fundamentals course from https://tylermcginnis.com","archived":false,"fork":false,"pushed_at":"2018-02-19T21:01:34.000Z","size":90,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-15T04:40:43.304Z","etag":null,"topics":["firebase","react-router","reactjs","webpack"],"latest_commit_sha":null,"homepage":"","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/warborn.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":"2017-07-06T19:32:10.000Z","updated_at":"2017-08-10T20:15:38.000Z","dependencies_parsed_at":"2023-05-30T19:45:23.058Z","dependency_job_id":null,"html_url":"https://github.com/warborn/github-battle","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/warborn%2Fgithub-battle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warborn%2Fgithub-battle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warborn%2Fgithub-battle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warborn%2Fgithub-battle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/warborn","download_url":"https://codeload.github.com/warborn/github-battle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241907756,"owners_count":20040528,"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":["firebase","react-router","reactjs","webpack"],"created_at":"2024-11-15T00:22:02.411Z","updated_at":"2026-04-09T16:02:59.199Z","avatar_url":"https://github.com/warborn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Github Battle project from the React Fundamentals course at [reacttraining.com](https://reacttraining.com/)\n======\n\nSome of the concepts applied are:\n- React Components\n- PropTypes\n- React Router\n- Github API integration\n- AJAX calls with [axios](https://github.com/mzabriskie/axios)\n- JavaScript Promises\n- Webpack configuration\n- NPM scripts to deploy to production using firebase\n- ES6/7 features like arrow functions, async/await, object destructuring\n\n### You can find the live version [here](https://wb-github-battle.netlify.com/)\n\nYou can view the popular repositories from github and filter them by technology like Ruby, CSS, Java, etc.\n\n![Image of the repo list screenshot](https://s20.postimg.org/w69icp2ct/popular-repos.jpg)\n\n### Battle\n\nEnter two valid Github usernames\n\n![Image of the user selection screenshot](https://s20.postimg.org/43lj5kv8t/battle-setup.jpg)\n\nClick the battle button and see who is the winner based on the number of followers and repositories of each user.\n\n![Image of the battle results screenshot](https://s20.postimg.org/tnntc0gml/battle-results.jpg)\n\n### Installation\n\nInstall all the dependencies.\n\n```sh\n$ cd github-battle\n$ npm install\n```\n\nTry it on your local environment, execute the following command and wait for webpack to finish and go to http://localhost:8080/\n```sh\n$ npm run start\n```\n\nBuild for production with:\n```sh\n$ npm run build\n```\n\nYou can deploy it to firebase, first need to login with the firebase CLI and init the project, then just run the deploy command\n```sh\n$ npm run firebase-init\n$ npm run deploy\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarborn%2Fgithub-battle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarborn%2Fgithub-battle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarborn%2Fgithub-battle/lists"}