Sunagatov / Iced-Latte

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

(Product module) Add new product attributes #315

Closed Sunagatov closed 1 week ago

Sunagatov commented 3 weeks 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:

tanXiang003 commented 2 weeks ago

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