Skip to content

This repository hosts an Angular-based project designed as a api integration exercise.

Notifications You must be signed in to change notification settings

ppsdang/angular-api-challenge

Repository files navigation

Resource Management App

This Angular application demonstrates basic login functionality and resource listing. Your task is to integrate API endpoints for authentication and fetching resource details.

Getting Started

These instructions will get the project up and running on your local machine for development and testing purposes.

Prerequisites

Installation

  1. Clone the repository: git clone https://github.com/ppsdang/angular-api-challenge
  2. Navigate to the project directory: cd angular-api-challenge
  3. Install the necessary packages: npm install
  4. Run the development server: npm start The application will be available at http://localhost:4200/.

Tasks

  1. Complete the Authentication Service: Implement the login method in auth.service.ts to integrate with Reqres API for user authentication. Use the following endpoint for login:
  1. Implement Resource Listing and Detail Fetching:
  1. Enhance the Resource Detail View: Enhance resource-detail.component.ts and its template to display fetched resource details effectively.

  2. Bonus Tasks:

  • Implement error handling for API requests.
  • Add loading indicators while data is being fetched.

For detailed API documentation, please visit Reqres.

Authors

  • [Pawanpreet Singh] - Initial Work

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc.

About

This repository hosts an Angular-based project designed as a api integration exercise.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published