This project is a Spring Boot application for managing books
- Java Development Kit (JDK) 17 or higher.
- Apache Maven for dependency management.
- Spring Boot: Framework for building Java applications
- Spring Data JPA: Part of the larger Spring Data framework, provides easy data access and persistence
- Spring Security: Authentication and access control framework
- Spring Web: For building web applications with Spring
- JSON Web Token (JWT): For secure authentication and authorization
- Springdoc OpenAPI: For generating API documentation with Swagger UI
- MapStruct: For object mapping
- H2 Database: Lightweight, in-memory database for development and testing
- Lombok: Library for reducing boilerplate code in Java
- Clone this repository to your local machine:
git clone https://github.com/jeremw264/books-api-spring.git- Navigate to the project directory: :
cd books-api-spring/- Compile the project using Maven: :
mvn clean install- Run the application using Maven :
mvn spring-boot:runThe application will be available at http://localhost:3001.
The API documentation is available via Swagger at http://localhost:3001/api/v1/swagger-ui/index.html#/
When using the application, you can utilize the following default credentials to access :
- Username: root
- Password: toor