An open API service indexing awesome lists of open source software.

https://github.com/sureshatcode/spring-hateoas-sample

Sample App for Spring Hateoas
https://github.com/sureshatcode/spring-hateoas-sample

spring-hateoas

Last synced: 5 months ago
JSON representation

Sample App for Spring Hateoas

Awesome Lists containing this project

README

          

# spring-hateoas-sample [![Build Status](https://travis-ci.org/sureshatcode/spring-hateoas-sample.svg?branch=master)](https://travis-ci.org/sureshatcode/spring-hateoas-sample)
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":[]}]