Sunagatov / Iced-Latte

a online Marketplace for coffee retail (Backend)
https://iced-latte.uk
MIT License
610 stars 115 forks source link

(Product module) Add new product attributes #315

Closed Sunagatov closed 5 months ago

Sunagatov commented 5 months ago

Before: Product entity and product table has these attributes

id             
name           
description   
price         
quantity       
active         
average_rating 
reviews_count  
brand_name      
seller_name    

After: You need to add new product attributes:

  1. Add new attributes to this create sql: 19.07.2023.part1.create-product-table.sql
  2. Add new attributes and their values (generate using GPTchat) to this inserts sql: 19.07.2023.part2.insert-product-data.sql
  3. Update ProductInfo entity class.
  4. Update ProductInfoDto in swagger contract: product-openapi.yaml.
  5. Update ProductInfoDtoConverter methods.
  6. Update unit tests if it is applicable.
  7. Update unit tests if it is applicable.
  8. Test your changes by running backend project locally and send http requests using Postman.

New product attributes:

TanXiang7o commented 5 months ago

Hi @Sunagatov I would like to work on this issue. Let me know If I can start on this.