Skip to content

Instantly share code, notes, and snippets.

@MinhasKamal
Created February 4, 2016 08:36
Show Gist options
  • Save MinhasKamal/eeb2e64f8b8bd656d399 to your computer and use it in GitHub Desktop.
Save MinhasKamal/eeb2e64f8b8bd656d399 to your computer and use it in GitHub Desktop.
[
{
'repeat:100': {
_id: '{{objectId()}}',
title: '{{lorem(4, "words")}}',
description: '{{lorem(1, "paragraphs")}}',
type: '{{random(["apartment"], ["office space"], ["single room"])}}',
city: '{{city()}}',
location: '{{street()}}',
country_state: '{{state()}}',
area: '{{integer(5000, 50000, "0,0")}}',
bedroom: '{{integer(1, 10)}}',
bathroom: '{{integer(1, 10)}}',
car_parking: '{{bool()}}',
lift: '{{bool()}}',
pets: '{{bool()}}',
security: '{{bool()}}',
price: '{{integer(1000, 100000, "0,0")}}',
image: 'file://{{lorem(1, "words")}}/{{lorem(1, "words")}}.jpg'
}
}
]
@MinhasKamal
Copy link
Author

goto http://www.json-generator.com/, paste the code, & click "generate".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment