{"id":13805447,"url":"https://github.com/ppsdang/angular-api-challenge","last_synced_at":"2025-05-13T19:31:06.570Z","repository":{"id":210890039,"uuid":"727686328","full_name":"ppsdang/angular-api-challenge","owner":"ppsdang","description":"This repository hosts an Angular-based project designed as a api integration exercise. ","archived":false,"fork":false,"pushed_at":"2023-12-05T11:19:39.000Z","size":130,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-04T01:04:58.582Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/ppsdang.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":"2023-12-05T11:18:26.000Z","updated_at":"2024-07-19T17:36:27.000Z","dependencies_parsed_at":"2023-12-05T12:44:36.368Z","dependency_job_id":null,"html_url":"https://github.com/ppsdang/angular-api-challenge","commit_stats":null,"previous_names":["ppsdang/angular-api-challenge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppsdang%2Fangular-api-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppsdang%2Fangular-api-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppsdang%2Fangular-api-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppsdang%2Fangular-api-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ppsdang","download_url":"https://codeload.github.com/ppsdang/angular-api-challenge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225254333,"owners_count":17445163,"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":[],"created_at":"2024-08-04T01:01:01.241Z","updated_at":"2024-11-18T21:31:14.063Z","avatar_url":"https://github.com/ppsdang.png","language":"TypeScript","readme":"# Resource Management App\n\nThis Angular application demonstrates basic login functionality and resource listing. Your task is to integrate API endpoints for authentication and fetching resource details.\n\n## Getting Started\n\nThese instructions will get the project up and running on your local machine for development and testing purposes.\n\n### Prerequisites\n\n- [Node.js](https://nodejs.org/en/) (Version 12.x or higher)\n- [Angular CLI](https://angular.io/cli) (Version 11.x or higher)\n\n### Installation\n\n1. Clone the repository:\n   git clone [https://github.com/ppsdang/angular-api-challenge](https://github.com/ppsdang/angular-api-challenge)\n2. Navigate to the project directory:\n   cd angular-api-challenge\n3. Install the necessary packages:\n   npm install\n4. Run the development server:\n   npm start\nThe application will be available at http://localhost:4200/.\n\n## Tasks\n\n1. **Complete the Authentication Service:**\nImplement the `login` method in `auth.service.ts` to integrate with Reqres API for user authentication. Use the following endpoint for login:\n- Login API: https://reqres.in/api/login\n\n2. **Implement Resource Listing and Detail Fetching:**\n- In `resource.service.ts`, complete methods to fetch a list of resources and details of a specific resource from Reqres API. Use these endpoints:\n  - Resources List API: https://reqres.in/api/resources\n  - Resource Detail API: https://reqres.in/api/resource/{:id}\n\n3. **Enhance the Resource Detail View:**\nEnhance `resource-detail.component.ts` and its template to display fetched resource details effectively.\n\n4. **Bonus Tasks:**\n- Implement error handling for API requests.\n- Add loading indicators while data is being fetched.\n\nFor detailed API documentation, please visit [Reqres](https://reqres.in/).\n\n## Authors\n\n- [Pawanpreet Singh] - Initial Work\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.\n\n## Acknowledgments\n\n- Hat tip to anyone whose code was used\n- Inspiration\n- etc.\n","funding_links":[],"categories":["Learning Resources"],"sub_categories":["Exercises"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppsdang%2Fangular-api-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fppsdang%2Fangular-api-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppsdang%2Fangular-api-challenge/lists"}