{"id":16183108,"url":"https://github.com/nbfontana/githor","last_synced_at":"2026-03-01T19:31:27.010Z","repository":{"id":89444425,"uuid":"104214104","full_name":"nbfontana/githor","owner":"nbfontana","description":"Github's profile collector. :octocat: Stack: Angular | Angular Material | Webpack (AngularCLI) | SASS (SCSS) | Karma | Protractor","archived":false,"fork":false,"pushed_at":"2018-08-26T00:10:56.000Z","size":479,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T20:41:19.676Z","etag":null,"topics":["angular","angular-material","github","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nbfontana.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-09-20T12:43:09.000Z","updated_at":"2019-10-15T04:42:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"691e65fa-3ef7-4ee9-8e75-f1435cafd281","html_url":"https://github.com/nbfontana/githor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nbfontana/githor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbfontana%2Fgithor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbfontana%2Fgithor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbfontana%2Fgithor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbfontana%2Fgithor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nbfontana","download_url":"https://codeload.github.com/nbfontana/githor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbfontana%2Fgithor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29981413,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T16:35:47.903Z","status":"ssl_error","status_checked_at":"2026-03-01T16:35:44.899Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["angular","angular-material","github","typescript"],"created_at":"2024-10-10T06:44:54.970Z","updated_at":"2026-03-01T19:31:26.987Z","avatar_url":"https://github.com/nbfontana.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# githor\nGitHub's profile collector made with Angular :octocat:\n\n# Implementation\n\nIn this project I made use of NodeJS with NPM, Webpack to bundle and serve the application with webpack-dev-server in dev environment, and Angular 4+. I also made use of Angular Material components for better UI, and some custom SCSS scripts.\n\n**Features**:\n\n*Users - /users - *List Github Users with pagination and filters*\n* The user can find a Github User by it's username or (login)\n* The user can find Github Users based on location (Brazil is set as default if it's empty)\n* The user can open a specific Github on the web\n* The user is able to make comments over a Github User (wich is being saved in the LocalStorage)\n* The user is able to list all public Github User repositories\n* A 404 panda is visible if the search doesn't return any value at all\n\n*Repositories - /repositories *List repositories of a specific Github User with pagination*\n* The user is able to see all public repositories of a specific Github User\n* The user is able to paginate over the repositories\n\n**Details**\n\n* I've made use of a Guard over the /repositories route, that way the user isn't able to navigate directly to the page without passing the the needed data to it.\n* If the user types a incorrect base url like 'https://githor.herokuapp.com/#/blabla' he's redirected to 'https://githor.herokuapp.com/#/page-not-found' but if he types only the subroute incorrectly, like 'https://githor.herokuapp.com/#/app/ussssers', he will get a default route for that.\n* Some components were created to help the main screens, like 'githor-loading' and 'github-user-card'. Some of them are dumb components wich are only responsible of emiting an event to the parent component so it can implement as it desires.\n* The final bundle is made with an CLI AOT Build and has async routes, for better performance. \n\n# Installation\n\nYou need NodeJS with NPM and the [HerokuCLI](https://devcenter.heroku.com/articles/getting-started-with-nodejs#set-up) to publish the app if you want to.\n\nFirst of all, install all dependencies:\n```\nnpm i -d\n``` \nThen, run the development server:\n```\nnpm run server\n``` \nAnd if you want to build AOT for production, just call:\n```\nnpm run build\n``` \nYou also have the option to run both the build and the server with flags for **Development**, **Production** and **Homologation**, all you need to do is add ':[flag]' after the script with a valid flag. Example:\n```\nnpm run build:dev\nnpm run build:prod\nnpm run build:hml\n``` \n\nIf you want to test the app you can run one of those\n```\nnpm run test\nnpm run test:watch\nnpm run test:prod // To run with PanthomJS in production linux environment (not recommended)\nnpm run e2e\n``` \n\nYou can find those and more scripts in the **package.json** file.\n\nEnjoy ;)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbfontana%2Fgithor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnbfontana%2Fgithor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbfontana%2Fgithor/lists"}