Hi Guys,
Let me just give you a quick run through on myself, i’m basically a tech trainer delivering on technologies like Angular, React. In trainings we all believe in learn by example methodology, when we used to learn something with the help of an example i used to face a challenge in getting mock data for shopping based apps.
More often we used to initially create mock, but because of a manual approach we all used to face a challenge of not being able to add ‘N’ no of products. To resolve this issue, i have created a javascript function which allows us to generate a mock json which we can use in our applications for testing. Below is the screenshot of the fiddle.
Alternatively you can visit https://jsfiddle.net/mdmoinsmexy/gz8q71ha/17
Hope, this helps to everyone having similar issues