This project serves as a quintessential programming example enabling users to register, list, delete, update, and find books within a PostgreSQL database.
User Registration: Allows users to register accounts to manage book transactions. Book Listing: Provides a comprehensive list of available books. Book Update & Deletion: Enables editing and removal of book entries. Book Search Functionality: Allows users to search for books based on various criteria.
Before running this project, ensure you have the following installed:
Java: Install Java Development Kit (JDK). PostgreSQL: Install and set up PostgreSQL database server.
To run this project locally, follow these steps:
- Clone the repository:
git clone https://github.com/Aburraq/Library-Book-Management-System.git
- Install dependencies:
cd Library-Book-Management-System Add specific installation commands if necessary (e.g., npm install, pip install, etc.)
- Set up PostgreSQL dependency with Maven:
Add the following dependency in your pom.xml file:
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.5.1</version>
</dependency>
- Set up PostgreSQL:
Create a PostgreSQL database. Update the database configuration file (config.js, settings.py, etc.) with your database credentials.
5.Run the application:
Add commands to start the application (e.g., mvn spring-boot:run, java -jar app.jar, etc.)
Once the application is running, users should revise getConnection method on BookRepository class, and write thier own url, user , and password. Users can interact with the following functionalities:
Registration: Register new users to access book management features.
Book Listing: View the complete list of available books.
Book Modification: Update or delete book details.
Search: Find specific books by id.
Contributions to this project are encouraged! If you'd like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch (git checkout -b feature/new-feature).
- Implement your changes.
- Commit your changes (git commit -am 'Add new feature').
- Push to the branch (git push origin feature/new-feature).
- Create a pull request.