This is a frontend application for a book library built using local storage.
- View all books
- View single book
- Add a book
- Edit a book
- Delete a book
- Local storage
-
Clone the repository:
git clone https://github.com/mojerf/Angular-Library.git
-
Install dependencies:
npm install
-
Start the development server:
ng serve
The application provides a simple interface to manage your book library.
- View Books: The application displays a list of all books stored in local storage.
- Add Book: Click the "Add Book" button to open a form where you can enter details like title, author, and genre. Click "Save" to add the book to the library.
- Edit Book: Click the edit icon next to a book to open an edit form. Modify the details and click "Save" to update the book.
- Delete Book: Click the delete icon next to a book to remove it from the library.
Note: All data is stored in the user's local storage and will persist even after refreshing the page or closing the browser window.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.