📃 Mockoon pre-generated templates

Make API development a breeze with our comprehensive library of JSON templates, designed to help you prototype and learn faster in Mockoon.

List of restaurants

Copy
[ {{#repeat 10}} { "id": "{{faker 'string.uuid'}}", "name": "{{faker 'company.name'}}", "address": "{{faker 'location.streetAddress'}}, {{faker 'location.city'}}, {{faker 'location.stateAbbr'}} {{faker 'location.zipCode'}}", "phone": "{{faker 'phone.number'}}", "cuisine": "{{faker 'helpers.arrayElement' (array 'Italian' 'Mexican' 'Chinese' 'Indian' 'American')}}", "rating": {{faker 'number.int' min=1 max=5}}, "price_range": "{{faker 'helpers.arrayElement' (array '$' '$$' '$$$' '$$$$')}}" } {{/repeat}} ]

This template generates a list of random restaurants with properties such as name, address, cuisine, rating, and price range. Its primary utility lies in populating mock databases for food delivery apps and restaurant finders. Additionally, it serves as a valuable resource for testing restaurant-related functionalities, ensuring accuracy and reliability within applications. These data are perfect to prototype or serve as sample data for applications like food delivery apps, restaurant finders, and review platforms.