Welcome to this repo, this repo will be collectiong data on Ecommerce products and its customers.
1 : Products
2 : Customers
[
{
"product":"PRODUCT_NAME (string)",
"category":"CATEGORY_TYPE (string)",
"price":PRICE (number),
"company":"COMPANY_NAME (string)"
},
]
[
{
"product":"Milk",
"category":"Grocery",
"price":40,
"company":"Amul Dairy"
},
{
"product":"Bread",
"category":"Grocery",
"price":20,
"company":"Brittania"
}
]
{
"customer":"CUSTOMER_NAME (string)",
"purchased":{
"CATEGORY_TYPE_1 (string)":[
"PRODUCT_NAME_1 (string)","PRODUCT_NAME_2 (string)"
],
"CATEGORY_TYPE_2 (string)":[
"PRODUCT_NAME_1 (string)","PRODUCT_NAME_2 (string)"
],
"CATEGORY_TYPE_3 (string)":[
"PRODUCT_NAME_1 (string)","PRODUCT_NAME_2 (string)"
]
}
}
[
{
"customer":"Riya Mandal",
"purchased":{
"grocery":[
"milk","bread","butter","biscuit"
],
"vegetables":[
"potato","onion","garlic"
],
"electronics":[
"battery","ear-phone"
]
}
}
]
For a successfull "PULL REQUEST(PR)"
all you have to do is fork down my repo in your local machine & contribute data to [products.json & customer.json] and push send a PR with proof(ss)
That in products.json the product name should be unique and in the PR please attach the proof that the product name does'nt exist and that it is newly added, check using ctrl + F(Windpws)/cmd + F(Mac) that the product name already exists or not✌️😄
Please remember that products name should be unique🙂✌️
[
{
"product":"PRODUCT_NAME (string)",
"category":"CATEGORY_TYPE (string)",
"price":PRICE (number),
"company":"COMPANY_NAME (string)"
},
]
{
"customer":"CUSTOMER_NAME (string)",
"purchased":{
"CATEGORY_TYPE_1 (string)":[
"PRODUCT_NAME_1 (string)","PRODUCT_NAME_2 (string)"
],
"CATEGORY_TYPE_2 (string)":[
"PRODUCT_NAME_1 (string)","PRODUCT_NAME_2 (string)"
]
}
}