Skip to content

bosco-ferrao/spring-boot-data-rest-merchant-offer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRUD App with Spring Boot Data with Unit Tests

It features full REST compliance and an embedded database.

Requirements

  • Maven
  • JDK 8

Testing

To test simply type

$ mvn test

from the root directory.

Running

To build and start the server simply type

$ mvn spring-boot:run

from the root directory.

Using

You can see what urls are available using curl:

$ curl localhost:8080

You can view existing people objects using a similar request:

$ curl localhost:8080/merchantGoods

and can create new ones using a POST:

$ curl -X POST -H "Content-Type:application/json" -d '{ "name" : "Tooth brush", "price" : "1.75" }' localhost:8080/merchantGoods

About

spring-boot-data-rest with unit tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages