Data Structure
Demos
Gift

Gift Shop - Data Structure

End point: /api/gift-shop/main-carousel
Used in: Gift Shop, Section1

Output:

[
    {
        id: 1,
        buttonLink: "#",
        buttonText: "Shop Now",
        subTitle: "GIFT SHOP",
        imgUrl: "/assets/images/Gift Shop/Header.png",
        title: "The gift of a man is his goodwill. Take care of gift",
    },
    ...
]

End point: /api/gift-shop-navigation
Used in: Gift Shop, SideNavbar

Output:

[
    {
        category: "Top Categories",
        categoryItem: [
            {
                icon: "Home",
                title: "Home",
                href: "/product/search/Dariry & Eggs"
            },
            ...
        ],
    },
    {
        category: "Top Categories",
        categoryItem: [
        {
            icon: "BirthdayCake",
            title: "Birthday",
            href: "/product/search/vegetables",
            child: [
                {
                    title: "Pears, apples, quinces",
                    href: "/product/search/Pears, apples, quinces"
                },
                ...
            ],
        },
        {
            icon: "Flower",
            title: "Flower",
            href: "/product/search/Dariry & Eggs"
        },
        ...
        ],
    },
    ...
]

End point: /api/gift-shop/service-list
Used in: Gift Shop, Section2

Output:

[
    {
        id: "742fb40b-c820-4caa-a23d-3bbc0216e1f7",
        icon: "Truck",
        title: "Delivery quality gift",
        description: "information on its origins",
    },
    ...
]

End point: /api/gift-shop/top-categories
Used in: Gift Shop, Section4

Output:

[
    {
        id: "4c9681ac-69e7-4ab6-b819-971b8ee9563b",
        name: "Birthday Gift",
        icon: null,
        image: "/assets/images/Gift Shop/Product 1.png",
        slug: "birthday-gift",
        parent: [],
        description: "27 Available Items",
    },
    ...
]

End point: /api/gift-shop/popular-products
Used in: Gift Shop, Section5

Output:

[
    {
        id: "8ac53dd8-6418-454f-bbb5-29f0b26ac5a5",
        slug: "nikecourt-zoom-vapor-cage",
        shop: {
            id: "baa3a02b-42da-40c0-852b-3aa292b70704",
            slug: "anytime-buys",
            user: {
                id: "e0d8be78-c530-4f1a-a2df-d082ba2db274",
                email: "Daisy.McLaughlin80@yahoo.com",
                phone: "1-462-772-4274 x931",
                avatar: "...",
                password: "nAGr0Rkf8CLP4Sv",
                dateOfBirth: "1958-06-07T17:14:57.585Z",
                verified: true,
                name: { firstName: "Llewellyn", lastName: "Schmitt" },
            },
            email: "Vida.Simonis@hotmail.com",
            name: "Anytime Buys",
            phone: "(613) 343-9004",
            address: "845 N. Stonybrook Ave. Tonawanda, NY 14210, Denmark",
            verified: false,
            coverPicture: "/assets/images/banners/banner-6.png",
            profilePicture: "/assets/images/faces/propic(5).png",
            socialLinks: {
                facebook: null,
                youtube: null,
                twitter: null,
                instagram: null,
            },
        },
        title: "NikeCourt Zoom Vapor Cage",
        brand: null,
        price: 250,
        size: null,
        colors: [],
        discount: 25,
        thumbnail: "flash-1.png",
        images: ["flash-1.png", "flash-1.png"],
        categories: [],
        status: null,
        reviews: [],
    },
    ...
]

End point: /api/gift-shop/top-sailed-products
Used in: Gift Shop, Section6

Output:

[
    {
        id: "8ac53dd8-6418-454f-bbb5-29f0b26ac5a5",
        slug: "nikecourt-zoom-vapor-cage",
        shop: {
            id: "baa3a02b-42da-40c0-852b-3aa292b70704",
            slug: "anytime-buys",
            user: {
                id: "e0d8be78-c530-4f1a-a2df-d082ba2db274",
                email: "Daisy.McLaughlin80@yahoo.com",
                phone: "1-462-772-4274 x931",
                avatar: "...",
                password: "nAGr0Rkf8CLP4Sv",
                dateOfBirth: "1958-06-07T17:14:57.585Z",
                verified: true,
                name: { firstName: "Llewellyn", lastName: "Schmitt" },
            },
            email: "Vida.Simonis@hotmail.com",
            name: "Anytime Buys",
            phone: "(613) 343-9004",
            address: "845 N. Stonybrook Ave. Tonawanda, NY 14210, Denmark",
            verified: false,
            coverPicture: "/assets/images/banners/banner-6.png",
            profilePicture: "/assets/images/faces/propic(5).png",
            socialLinks: {
                facebook: null,
                youtube: null,
                twitter: null,
                instagram: null,
            },
        },
        title: "NikeCourt Zoom Vapor Cage",
        brand: null,
        price: 250,
        size: null,
        colors: [],
        discount: 25,
        thumbnail: "flash-1.png",
        images: ["flash-1.png", "flash-1.png"],
        categories: [],
        status: null,
        reviews: [],
    },
    ...
]

End point: /api/gift-shop/all-products
Used in: Gift Shop, Section7

Output:

[
    {
        id: "8ac53dd8-6418-454f-bbb5-29f0b26ac5a5",
        slug: "nikecourt-zoom-vapor-cage",
        shop: {
            id: "baa3a02b-42da-40c0-852b-3aa292b70704",
            slug: "anytime-buys",
            user: {
                id: "e0d8be78-c530-4f1a-a2df-d082ba2db274",
                email: "Daisy.McLaughlin80@yahoo.com",
                phone: "1-462-772-4274 x931",
                avatar: "...",
                password: "nAGr0Rkf8CLP4Sv",
                dateOfBirth: "1958-06-07T17:14:57.585Z",
                verified: true,
                name: { firstName: "Llewellyn", lastName: "Schmitt" },
            },
            email: "Vida.Simonis@hotmail.com",
            name: "Anytime Buys",
            phone: "(613) 343-9004",
            address: "845 N. Stonybrook Ave. Tonawanda, NY 14210, Denmark",
            verified: false,
            coverPicture: "/assets/images/banners/banner-6.png",
            profilePicture: "/assets/images/faces/propic(5).png",
            socialLinks: {
                facebook: null,
                youtube: null,
                twitter: null,
                instagram: null,
            },
        },
        title: "NikeCourt Zoom Vapor Cage",
        brand: null,
        price: 250,
        size: null,
        colors: [],
        discount: 25,
        thumbnail: "flash-1.png",
        images: ["flash-1.png", "flash-1.png"],
        categories: [],
        status: null,
        reviews: [],
    },
    ...
]