Skip to content

Latest commit

 

History

History
146 lines (108 loc) · 3.19 KB

File metadata and controls

146 lines (108 loc) · 3.19 KB

Ecommerce Data Collection🌌

Welcome to this repo, this repo will be collectiong data on Ecommerce products and its customers.

Collection Requirement :

1 : Products

2 : Customers

Products Model :

  [
    {
        "product":"PRODUCT_NAME (string)",
        "category":"CATEGORY_TYPE (string)",
        "price":PRICE (number),
        "company":"COMPANY_NAME (string)"
    },
]

Products Model Example :

[
    {
        "product":"Milk",
        "category":"Grocery",
        "price":40,
        "company":"Amul Dairy"
    },
    {
        "product":"Bread",
        "category":"Grocery",
        "price":20,
        "company":"Brittania"
    }
]

Customer Model :

   {
        "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 Model Example :

[
    {
        "customer":"Riya Mandal",
        "purchased":{
            "grocery":[
                "milk","bread","butter","biscuit"
            ],
            "vegetables":[
                "potato","onion","garlic"
            ],
            "electronics":[
                "battery","ear-phone"
            ]
        }
    }
]

Contribute 2 this repository :

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)

Remember :

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🙂✌️

Wrong Data Entry❌

Screenshot (69)

Correct Data Entry✔️

image

Rules to add new data

@poduct.json format:

  [
    {
        "product":"PRODUCT_NAME (string)",
        "category":"CATEGORY_TYPE (string)",
        "price":PRICE (number),
        "company":"COMPANY_NAME (string)"
    },
]

@customer.json format

   {
        "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)"
            ]
        }
    }

Thanks For Contributin😄 Your Data is Valuable✌️