Skip to content

Sanjeet-dev/Album-Collection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Album-Collection

Features

Retrieves album data from the JSONPlaceholder API. Displays a list of albums with their respective user IDs, IDs, and titles. Allows deleting albums by clicking the "delete" button. Allows updating album details by clicking the "update" button and modifying the input fields in the form. Dependencies This component depends on the following libraries:

React: "^16.8.0" or higher Make sure these dependencies are installed in your project.

API Usage

The component interacts with the following API endpoints:

GET https://jsonplaceholder.typicode.com/albums: Retrieves the list of albums. DELETE https://jsonplaceholder.typicode.com/albums/{itemId}: Deletes an album with the specified ID. PUT https://jsonplaceholder.typicode.com/albums/{itemId}: Updates an album with the specified ID.