Skip to content

Samikbrz/pricing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pricing Application

This application allows creating, listing, updating, adding products to the cart, deleting products and calculating the products in the cart with discounted prices.

Technologies

  • Spring Boot
  • Docker
  • Liquibase
  • Postgresql

Requests

  • [POST] localhost:8080/api/v1/product

    Request Body

    • name
    • discountType [params = BOGO or DISCOUNTLESS]
    • price

  • [GET] localhost:8080/api/v1/product

  • [PUT] localhost:8080/api/v1/product/{productId}

    Request Body

    • name
    • discountType [params = BOGO or DISCOUNTLESS]
    • price

  • [POST] localhost:8080/api/v1/cart/addProduct/{productId}

  • [GET] localhost:8080/api/v1/cart

  • [GET] localhost:8080/api/v1/cart/deleteProductFromCart/{productId}

About

This application allows creating, listing, updating, adding products to the cart, deleting products and calculating the products in the cart with discounted prices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages