Listing Books is a simple web application that allows users to create, read, update, and delete books. This project aims to provide a user-friendly interface for managing a list of books using basic CRUD (Create, Read, Update, Delete) operations.
- Book Listing: View a list of books with their titles, authors, and descriptions.
- Create Book: Add a new book to the list by providing the necessary details such as title, author, and description.
- Update Book: Edit the details of an existing book, including the title, author, and description.
- Delete Book: Remove a book from the list permanently.
To run this project locally, follow these steps:
-
Clone the repository using the following command:
git clone https://github.com/usefsame7/Listing-Books.git
-
Navigate to the project directory:
cd Listing-Books -
Install the required dependencies:
npm install
-
Start the application:
npm start
-
Open your web browser and visit http://localhost:3000 to access the application.
Once you have the application running, you can perform various operations on the book list:
- View Books: The home page displays a list of available books. Click on a book to view its details.
- Add Book: Click on the "Add Book" button to create a new book. Fill in the required fields and click "Save" to add it to the list.
- Edit Book: On the book details page, click on the "Edit" button to modify the book's information. Make the necessary changes and click "Save" to update the book.
- Delete Book: On the book details page, click on the "Delete" button to remove the book from the list. Confirm the deletion when prompted.
- Frontend: JS, HTML, CSS, EJS
- Backend: Node.js, Express
- Database: MongoDB (Mongoose)
- Architectural Pattern: MVC (Model-View-Controller)
If you have any questions or suggestions regarding this project, please feel free to contact the project owner:
- Name: Youssef Sameh Elsisy
- Email: yousameh2006@gmail.com
Thank you for using Listing Books! We hope you find it useful and enjoy managing your book collection with ease.