{"id":19274012,"url":"https://github.com/rintoj/agl-developer-test","last_synced_at":"2026-06-18T11:32:32.764Z","repository":{"id":90422135,"uuid":"86417496","full_name":"rintoj/agl-developer-test","owner":"rintoj","description":"AGL Programming challenge","archived":false,"fork":false,"pushed_at":"2017-03-29T02:53:03.000Z","size":385,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-02T22:46:55.441Z","etag":null,"topics":[],"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/rintoj.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-03-28T05:12:22.000Z","updated_at":"2017-04-03T14:50:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"3b561f21-a433-4efc-b550-cdf9fc51c9fc","html_url":"https://github.com/rintoj/agl-developer-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rintoj/agl-developer-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rintoj%2Fagl-developer-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rintoj%2Fagl-developer-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rintoj%2Fagl-developer-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rintoj%2Fagl-developer-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rintoj","download_url":"https://codeload.github.com/rintoj/agl-developer-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rintoj%2Fagl-developer-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34489110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-09T20:44:49.068Z","updated_at":"2026-06-18T11:32:32.728Z","avatar_url":"https://github.com/rintoj.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AGL Developer Programming Challenge\n\nThis is a sample code to consume a json hosted at [ http://agl-developer-test.azurewebsites.net/people.json]( http://agl-developer-test.azurewebsites.net/people.json) and output a list of all the cats in alphabetical order under a heading of the gender of their owner.\n\nExample:\n\n```yml\nMale\n- Angel\n- Molly\n- Tigger\n\nFemale\n- Gizmo\n- Jasper\n\n```\n\n## Scripts\n\n```bash\n# to install node modules (to be done once)\nnpm install\n\n# to run the project\nnpm start\n\n# to run test suites\nnpm test\n\n# to create build\nnpm run build\n\n# to run test cases in watch mode\nnpm run tdd\n```\n\n## Tools used\n\nThis project is written using the following tools:\n\n- JavaScript [`ES2015`](https://babeljs.io/learn-es2015/) version\n- [`Webpack 2.x`](https://webpack.js.org/) as module bundler\n- [`Babel JS`](https://babeljs.io/) as the compiler.\n- [`Mocha JS`](https://mochajs.org/) testing framework.\n- [`Chai JS`](http://chaijs.com/) as the assertion library\n- [`Istanbul JS`](https://istanbul.js.org/) as the code coverage library\n\n## Output\n\n![Coverage Report](./docs/output.png)\n\n## Coverage\n\nTo get coverage report\n\n```bash\nnpm test\n```\n\n![Coverage Report](./docs/coverage-report.png)\n\nHTML Report can be accessed from [here](./coverage/index.html)\n\n## Known Issue\n\nThe server does not support Cross Origin Resource Sharing (CORS), therefore the below error may be shown:\n\n```bash\nFAILED: Failed to fetch\n```\n\nTo fix this, start Google Chrome with disabled web-security using the following command:\n\n### In MAC\n```bash\nopen -a \"Google Chrome\" --args --user-data-dir --disable-web-security\n```\n\n### In Windows\n```bash\n\"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\" --disable-web-security --user-data-dir=\"C:\\chrome\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frintoj%2Fagl-developer-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frintoj%2Fagl-developer-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frintoj%2Fagl-developer-test/lists"}