BookStoreWebApp is a web application for managing a bookstore. It allows staff to manage books, track borrow records, and handle customer information.
- Manage Books: Add, edit, delete, and view books.
- Borrow Records: Track book borrowings and returns.
- Customer Management: Add and manage customer information.
- User Authentication: Admin and user roles for different access levels.
- Backend: Spring Boot, Java, PostgreSQL
- Frontend: Thymeleaf, Bootstrap
- Notifications: SweetAlert
- Java Development Kit (JDK): Version 17 or later.
- Maven: To build the project.
- PostgreSQL: Database server.
- Git: For version control.
-
Clone the Repository
git clone https://github.com/MasterWithAhmad/BookStoreWebApp.git cd BookStoreWebApp
-
Create a PostgreSQL Database:
- Name the database
book_store_db
.
- Name the database
-
Update Database Connection Settings:
- Open the
src/main/resources/application.properties
file. - Set the database connection properties as follows:
spring.datasource.url=jdbc:postgresql://localhost:5432/your_database_name spring.datasource.username=your_db_username spring.datasource.password=your_db_password
- Open the
-
mvn clean install
-
mvn spring-boot:run
java -jar target/BookStoreWebApp-0.0.1-SNAPSHOT.jar
- Open your web browser and go to http://localhost:3000.