BookReviews is a Spring Boot application designed to allow users to create, read, update, and delete book reviews. It leverages various Spring technologies, including Spring Data JPA, Spring Security, and Thymeleaf, to provide a seamless user experience and robust backend functionalities.
- User authentication and authorization using Spring Security
- Create, read, update, and delete book reviews
- RESTful API endpoints for interacting with book reviews
- In-memory H2 database for development and testing
- Thymeleaf-based frontend for dynamic content rendering
- Java 17
- Spring Boot 3.2.4
- Spring Data JPA
- Spring Security
- Thymeleaf
- H2 Database
- Lombok
- Maven for dependency management
Make sure you have the following installed:
git clone https://github.com/alexbascevan/BookReviews.git
cd BookReviewsTo build the project and install dependencies, run:
mvn clean installYou can run the application using the following command:
mvn spring-boot:runThe application will be available at http://localhost:8080.
Once the application is running, you can access the web interface at:
- Home Page:
http://localhost:8080/ - Book Reviews: Available on the home page after logging in.
The application uses an in-memory H2 database. You can access the H2 console by visiting:
http://localhost:8080/h2-console
JDBC URL: jdbc:h2:mem:testdb
Username: sa
Password: (leave blank)
To run tests, use the following command:
mvn test