Skip to content
/ oms Public

Java, Spring, JPA (Hibernate), Thymeleaf REST backend for oms-ui-react

Notifications You must be signed in to change notification settings

samitapani/oms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OMS-backend

Java 8 + Spring Boot + Hibernate REST JSON server.

Server for storing and retrieving Orders and Products.

Reqs

jdk 8
maven 3

Install

git clone https://github.com/samitapani/oms.git
cd oms
mvn spring-boot:run

Usage

curl 'localhost:8090/orders/list-paged?page=0&size=10' | jq
curl 'localhost:8090/products/list-paged?page=0&size=10' | jq

curl 'http:https://localhost:8090/orders/save' \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Connection: keep-alive' --data-binary '{"id":2,"name":"More worms","orderItemList":[{"id":5,"count":10,"product":{"id":4,"name":"Worm","price":0.29}}],"creation":1517255921223}'

curl 'http:https://localhost:8090/orders/delete/2'

About

Java, Spring, JPA (Hibernate), Thymeleaf REST backend for oms-ui-react

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages