How to expose Rest API's with Spring boot. This will show how we can develop a spring boot project and expose Rest API.s Three main dependencies I use here are Web, JPA and HSQL You can go to https://start.spring.io/ and setup either a Gradle or Maven Project. Adding the required dependencies. <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.hsqldb</groupId> <artifactId>hsqldb</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> ...
Code Samples for you.