arulkumar-lab / arului-apiservice

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

image

image

image

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>

About

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

License:MIT License


Languages

Language:Java 95.9%Language:TSQL 4.1%