Re:Show HN: Generate JSON mock data for testing/initial app ...
by terpimost on Tuesday October 03, 2023 @06:38PM
(#37758556)
Is it using https://fakerjs.dev/ ?
[ Parent
| on HN ]
Re:Show HN: Generate JSON mock data for testing/initial app ...
by Nickba on Tuesday October 03, 2023 @06:55PM
(#37758704)
Not completely but for a good portion of it.
Re:Show HN: Generate JSON mock data for testing/initial app ...
by infixed on Tuesday October 03, 2023 @06:59PM
(#37758731)
There was an interesting thread that did the rounds on HN a couple years back about using Faker in a related (but different) product.
https://news.ycombinator.com/item?id=27252066
Personally, I think your demo has a pretty neat / novel UX. I couldn't find a way to generate a large number of examples at once -- did I miss that somewhere?
Re:Show HN: Generate JSON mock data for testing/initial app ...
by Nickba on Tuesday October 03, 2023 @07:15PM
(#37758857)
So you should be able to use the repeat(numberOfTimes?) tag to generate an N number of examples. I believe I set the max now to 20.
But as long as the first index in an array is repeat(), anything in the second index will repeat N amount of times.