Skip to content

Orders Project - Spring boot application to study JPA and associations.

Notifications You must be signed in to change notification settings

AleehSophia/spring-pedidos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✨About the project✨


Course: Java completo
Orders Spring Boot application
Java EE notion notes: https://alessiacasado.notion.site/Java-EE-1c47af0f8e004813a08580a4a6d2379c

Technologies

  • Java 17
  • Spring boot 3.x
  • H2

Diagram

Postman outcome

localhost:8080/orders/1

{
    "id": 1,
    "moment": "2019-06-20T19:53:07Z",
    "orderStatus": "PAID",
    "client": {
        "id": 1,
        "name": "Maria Brown",
        "email": "maria@gmail.com",
        "phone": "988888888",
        "password": "123456"
    },
    "items": [
        {
            "quantity": 2,
            "price": 90.5,
            "subTotal": 181.0
        },
        {
            "quantity": 1,
            "price": 1250.0,
            "subTotal": 1250.0
        }
    ],
    "payment": {
        "id": 1,
        "moment": "2019-06-20T21:53:07Z"
    },
    "total": 1431.0
}

About

Orders Project - Spring boot application to study JPA and associations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages