Sample App for Spring Hateoas with Hibernate
Once done the application setup, we have to run the Application.java file with Run as Java application option. It will trigger the tomcat server in port 8080.
Rest API URL's:
Get All Users: http://localhost:8080/users
Response:
[{"fullName":"Suresh Palanisamy","emailAddress":"suresh@revature.com","age":20,"userId":1,"links":[]},{"fullName":"Suresh","emailAddress":"suresh@yopmail.com","age":21,"userId":2,"links":[]},{"fullName":"Siva","emailAddress":"siva@test.com","age":22,"userId":3,"links":[]}]