This is a sample Spring Boot application for a book store, implementing CRUD (Create, Read, Update, Delete) operations with a beautiful and responsive user interface using Thymeleaf.
- Introduction
- Features
- Prerequisites
- Setup
- Running the Application
- Usage
- Project Structure
- Dependencies
- Contributing
- License
This Spring Boot Book Store application provides a simple yet powerful platform for managing books. It is built using the Spring Boot framework, Thymeleaf for server-side templating, and Bootstrap for a beautiful and responsive user interface.
- Create, Read, Update, and Delete (CRUD) operations for books.
- Responsive and visually appealing user interface.
- Integration with a relational database for persistent storage.
- Easy-to-use web interface for managing books.
Make sure you have the following installed before setting up the project:
- Java Development Kit (JDK) 8 or higher
- Maven
- Your favorite IDE (e.g., IntelliJ IDEA, Eclipse)
-
Clone the repository:
git clone https://github.com/hellojeeban/bookstore-boot-app.git
-
Open the project in your IDE.
-
Configure the database properties in the
application.properties
file.spring.datasource.url=jdbc:mysql://localhost:3306/bookstore spring.datasource.username=root spring.datasource.password=root_password
-
Build the project using Maven:
mvn clean install
Run the application from your IDE or use the following Maven command:
mvn spring-boot:run
The application will start at http://localhost:8080
.
Visit http://localhost:8080
in your web browser to access the Book Store application. Use the intuitive web interface to perform CRUD operations on books.
The project structure follows the standard Spring Boot layout:
src/main/java
: Java source files.src/main/resources
: Application properties, templates, and static resources.src/test
: Test source files.pom.xml
: Maven project configuration.
- Spring Boot
- Thymeleaf
- Bootstrap
- MySQL Connector
Refer to the pom.xml
file for a complete list of dependencies.
Feel free to contribute by opening issues or creating pull requests. Your feedback and improvements are highly appreciated.
This project is licensed under the MIT License.
Happy coding! 🚀