This is a sample Spring Boot application for an online store to understand basic web development for Java.
- RESTful API
- CRUD operations on products and orders
- Exception handling
- Pagination and sorting
- Input validation
- Logging with SLF4J and Logback
- H2 in-memory database
- Java 11
- Spring Boot 2.5.4
- Maven
- Spring Data JPA
- H2 Database
- Spring Web
- Spring MVC
- Spring HATEOAS
- Bean Validation
- Lombok
- MapStruct
- ModelMapper
- Java 11 or later
- Maven 3
- Clone the repository
- Navigate to the root directory of the project
- Run
mvn spring-boot:run - Access the API at
http://localhost:8080/api