Created
August 23, 2019 13:34
-
-
Save vernondegoede/659e16abcea7912c1999de79f86c9f7e to your computer and use it in GitHub Desktop.
Generate dummy data for customers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
'{{repeat(50)}}', | |
{ | |
id: 'cus_{{objectId()}}', | |
name: '{{firstName()}} {{surname()}}', | |
company: '{{company()}}', | |
email: '{{email()}}', | |
picture: { | |
large: 'https://randomuser.me/api/portraits/{{gender()}}/{{index(1)}}.jpg', | |
medium: 'https://randomuser.me/api/portraits/med/{{gender()}}/{{index(1)}}.jpg', | |
thumbnail: 'https://randomuser.me/api/portraits/thumb/{{gender()}}/{{index(1)}}.jpg', | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment