Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.14 KB

README.md

File metadata and controls

24 lines (18 loc) · 1.14 KB

Order Service

REST API

Endpoint Method Req. body Status Resp. body Description
/orders GET 200 Orders Get all the orders.
/orders POST OrderRequest 200 Order Submit a new order.

Useful Commands

Gradle Command Description
./gradlew bootRun Run the application.
./gradlew build Build the application.
./gradlew test Run tests.
./gradlew bootJar Package the application as a JAR.
./gradlew bootBuildImage Package the application as a container image.

After building the application, you can also run it from the Java CLI:

java -jar build/libs/order-service-0.0.1-SNAPSHOT.jar