- Run
mvn dependency:resolve
followed bymvn clean compile install
to build your application - Set up the database schema
java -jar target/petstore-1.0-SNAPSHOT.jar db migrate src/main/resources/config.yml
- Start application with
java -jar target/petstore-1.0-SNAPSHOT.jar server src/main/resources/config.yml
- To check that your application is running enter url
http://localhost:8080
POST
JSON test data tohttp://localhost:8080/orders
GET
http://localhost:8080/orders
to see all ordersGET
http://localhost:8080/orders/{orderId}
to find an order by IDGET
http://localhost:8080/items
to see all itemsGET
http://localhost:8080/items/{itemId}
to find an item by ID
-
Notifications
You must be signed in to change notification settings - Fork 0
mbmblbelt/petstore
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published