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
- Host: GitHub
- URL: https://github.com/sureshatcode/spring-hateoas-sample
- Owner: sureshatcode
- Created: 2016-12-28T12:22:08.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-17T18:29:40.000Z (over 8 years ago)
- Last Synced: 2025-01-18T14:44:28.286Z (about 1 year ago)
- Topics: spring-hateoas
- Language: Java
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spring-hateoas-sample [](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":[]}]