A simple React application for managing albums. It allows you to fetch and display albums from an API, add new albums, update existing ones, and delete albums. Please note that the add, update, and delete operations are dummy requests for demonstration purposes.
The project's folder structure is as follows:
📦albumcollections
┣ 📂public
┃ ┣ 📜favicon.ico
┃ ┗ 📜index.html
┣ 📂src
┃ ┣ 📂components
┃ ┃ ┣ 📂Album
┃ ┃ ┃ ┗ 📜Album.js
┃ ┃ ┣ 📂AlbumItem
┃ ┃ ┃ ┣ 📜AlbumItem.css
┃ ┃ ┃ ┗ 📜AlbumItem.js
┃ ┃ ┣ 📂Footer
┃ ┃ ┃ ┗ 📜Footer.js
┃ ┃ ┣ 📂Navbar
┃ ┃ ┃ ┗ 📜Navbar.js
┃ ┃ ┣ 📜App.css
┃ ┃ ┗ 📜App.js
┃ ┣ 📜index.css
┃ ┗ 📜index.js
┣ 📜.gitignore
┣ 📜README.md
┣ 📜package-lock.json
┗ 📜package.json
- Fetch and display albums from the JSONPlaceholder API.
- Add a new album (dummy request for demonstration purposes).
- Update an existing album (dummy request for demonstration purposes).
- Delete an album (dummy request for demonstration purposes).
Follow these steps to run the Album Manager on your local machine:
-
Clone the Repository: Clone this repository to your local machine using the following command:
git clone https://github.com/kabhinav577/Album-Manager.git
-
Navigate to the Project Directory:
cd Album-Manager
-
Install Dependencies:
npm install
-
Start the Development Server:
npm start
-
Access the App:
Open your web browser and navigate to http://localhost:3000 to access the Album Manager app.