Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.16 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.16 KB

SpringBoot + Neo4J

Code Climate

To run application

mvn spring-boot:run (requires maven 3 and java8)

create Person

curl -X POST http://localhost:8080/[email protected]&personId=35&name=bruno

get person by id

curl -X GET http://localhost:8080/people/35

list people

curl -X GET http://localhost:8080/people?limit=0

delete person

curl -X DELETE http://localhost:8080/people/35

create product

curl -X POST http://localhost:8080/products?productId=35&name=teste&price=2.30

get product by id

curl -X GET http://localhost:8080/products/35

list products

curl -X GET http://localhost:8080/products?limit=0

delete product

curl -X DELETE http://localhost:8080/products/35

create viewed Action

curl -X POST http://localhost:8080/people/35/viewed/35

create added to cart Action

curl -X POST http://localhost:8080/people/35/added-to-cart/35

create bought Action

curl -X POST http://localhost:8080/people/35/bought/35

list actions

curl -X GET http://localhost:8080/people/35/actions?limit=0