Data Structure
Demos
Furniture 2

Furniture 2 - Data Structure

End point: /api/furniture-2/products?tag=new-arrival
Used in: Furniture-2, Section3

Output:

[
  {
    id: '8b9f5a78-0dbb-4dd3-a718-aa7342b76901',
    slug: 'wood-tool',
    shop: { ... },
    title: 'Wood Tool',
    price: 250,
    size: null,
    discount: 15,
    brand: null,
    thumbnail: '/assets/images/furniture-products/furniture-1.png',
    images: [ ... ],
    categories: [],
    status: null,
    reviews: [],
    rating: 4,
  },
]

End point: /api/furniture-2/products?tag=trending
Used in: Furniture-2, Section5

Output:

[
  {
    id: '8b9f5a78-0dbb-4dd3-a718-aa7342b76901',
    slug: 'wood-tool',
    shop: { ... },
    title: 'Wood Tool',
    price: 250,
    size: null,
    discount: 15,
    brand: null,
    thumbnail: '/assets/images/furniture-products/furniture-1.png',
    images: [ ... ],
    categories: [],
    status: null,
    reviews: [],
    rating: 4,
  },
]

End point: /api/furniture-2/testimonial
Used in: Furniture-2, Section7

Output:

[
  {
    rating: 5,
    id: "aa95e3fd-c170-431a-b9cd-abaac45a048f",
    comment: '...',
    user: {
      name: "Jonathon Doe",
      avatar: "/assets/images/faces/10.jpg",
      designation: "Executive Officer, Amazon",
    },
  },
  ...
]

End point: /api/furniture-2/services
Used in: Furniture-2, Section9

Output:

[
  {
    id: '5f9bd366-9583-4e6d-9b11-abe74b9c5d96',
    icon: 'Truck',
    title: 'Worldwide Delivery',
    description: 'We offer competitive prices on',
  },
  ...
]