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

https://github.com/arulkumar-lab/arului-apiservice

arului-apiservice API REST services using springboot JPA H2 hateoas HAL
https://github.com/arulkumar-lab/arului-apiservice

h2-database hal hateoas hateoas-call jpa rest-api spring-boot

Last synced: 2 months ago
JSON representation

arului-apiservice API REST services using springboot JPA H2 hateoas HAL

Awesome Lists containing this project

README

        

# arului-apiservice
arului-apiservice API REST services using springboot JPA H2 hateoas HAL

Download and install H2 database engine

1. ```mvn install```

2. ```spring-boot:run```

Country controller - HATEOAS service call

```http://localhost:2020/arului-service/country```
```http://localhost:2020/arului-service/country?name=xyz```
***

PersonRepository - HATEOAS call using RepositoryRestResource

```http://localhost:2020/arului-service/people```
***

Item Controller - REST service call using H2 database engine

```http://localhost:2020/arului-service/item```
***
![image](https://user-images.githubusercontent.com/56085499/86805428-c6f3f100-c06f-11ea-9c26-0f7b929839cc.png)

![image](https://user-images.githubusercontent.com/56085499/86805652-fb67ad00-c06f-11ea-89f6-248e1535bcee.png)

![image](https://user-images.githubusercontent.com/56085499/86805841-2fdb6900-c070-11ea-9b3a-d8fd2656c68c.png)

![image](https://user-images.githubusercontent.com/56085499/86806040-631df800-c070-11ea-9e5d-6edd31c5d02f.png)

Note:
If any error during build/runtime error related to jsonpath comment below lines from pom.xml and try



<dependency>
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path-assert</artifactId>
<version>2.4.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId>
<version>2.4.0</version>
<scope>test</scope>
</dependency>