A simple Angular application using the DummyJSON API.
- Fetches and displays products using the
GET /products
endpoint. - Displays the following product details in a grid layout:
- Title
- Price
- Thumbnail
- Rating
- Includes a dropdown to filter products by category (use the
GET /products/categories
endpoint).
- Clicking on a product opens a modal displaying:
- Title
- Description
- Stock
- Price
- Images (use the
images
field from the API)
- Allows users to add the product to a Favorites list.
- A dedicated Favorites page.
- It persist the favorites list locally using LocalStorage.
- Clone the repository:
cd <project-folder>
- Install dependencies:
npm install
- Run the development server:
ng serve
- Open your browser and navigate to
http://localhost:4200
.
- Angular 19 (Framework)
- TypeScript (Language)
- DummyJSON API (Data source)
- LocalStorage (For persisting favorites)
- This implementation does not include unit tests or specific responsiveness improvements.
This project is for experimentation purposes only.