Skip to content

lsofiadb/Soluthevnik-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Soluthevnik Backend 📊

Backend development for Soluthevnik company.

Soluthevnik Frontend 🌟

You can check this repo!

Objective 🔭

Allow the administrator user to track inventory on sales and raw material orders.

Technologies 💡

Spring Boot, Java 17, Org JSON, Lombok, Oracle 11, Spring Data JPA, Argon2

Postman documentation 📚

You can check endpoints documentation here!

HTTP Request examples ✒️

🔰 POST http://localhost:8081/sale_order/save

{
    "sale_order":{
        "k_id":12,
        "client_id":145,
        "admin_id":789456123,
        "total_price":0.0
    },
    "sale_order_items":[
        {
            "product_id":963,
            "q_quantity":5,
            "v_unit_price":45320.54
        },
        {
            "product_id":89,
            "q_quantity":3,
            "v_unit_price":65320.54
        }
    ]
}

🔰 POST http://localhost:8081/raw_material_order/save

{
    "raw_material_order":{
        "k_id":9,
        "supplier_id":12345,
        "admin_id":789456123,
        "v_total_price":0.0
    },
    "raw_material_order_items":[
        {
            "raw_material_id":369,
            "q_quantity":5,
            "v_unit_price":45320.54
        },
        {
            "raw_material_id":458,
            "q_quantity":3,
            "v_unit_price":65320.54
        }
    ]
}