UNPKG

create-mock-backend

Version:

This is npx starter package for installing your favourite backend template for mockBee.

31 lines (28 loc) 574 B
import { v4 as uuid } from "uuid"; /** * Product Database can be added here. * You can add products of your wish with different attributes * */ export const products = [ { _id: uuid(), title: "You Can WIN", author: "Shiv Khera", price: "5000", categoryName: "non-fiction", }, { _id: uuid(), title: "You are Winner", author: "Junaid Qureshi", price: "3000", categoryName: "horror", }, { _id: uuid(), title: "Think and Grow Rich", author: "Shiv Khera", price: "1000", categoryName: "fiction", }, ];