Ecom App - Spring Boot
Rest Apis using Spring Boot for Ecom App
Spring Boot Starter Dependencies
- org.springframework.boot:spring-boot-starter-web - Starter for building web, including RESTful, applications using Spring.
https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-web
- org.springframework.boot:spring-boot-starter-data-jpa - Starter for using Spring Data JPA with Hibernate
https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-data-jpa
- org.springframework.boot:spring-boot-starter-validation - Starter for using Java Bean Validation with Hibernate Validator
https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-validation
- org.springframework.boot:spring-boot-starter-test - Starter for testing Spring Boot applications with libraries including JUnit Jupiter, Hamcrest and Mockito
https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-test
Other Dependencies
- mysql:mysql-connector-java - JDBC Driver for MySQL
https://mvnrepository.com/artifact/mysql/mysql-connector-java
- org.projectlombok:lombok - Automatic Resource Management, automatic generation of getters, setters, equals, hashCode and toString, and more
https://mvnrepository.com/artifact/org.projectlombok/lombok
- org.mapstruct:mapstruct An annotation processor for generating type-safe bean mappers
https://mvnrepository.com/artifact/org.mapstruct/mapstruct
- io.springfox:springfox-swagger2 - JSON API documentation for spring based applications
https://mvnrepository.com/artifact/io.springfox/springfox-swagger2
- io.springfox:springfox-swagger-ui - JSON API documentation for spring based applications
https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui
Configuring Swagger
- Adding Spring Fox Swagger2 and Swagger UI Depedency
- Enabling Swagger in code with @EnableSwagger2 annotation
- Configuring Swagger by creating Bean of Docket Class