An api to fetch dummy e-commerce product :tshirt: :dress: :jeans: :womans_clothes: JSON data with placeholder images.
This API aims to replicate the behaviour of various ecommerce website data and this is best for prototyping such kind of website. It provides dummy products with placeholder images with different sizes. I made this because I cannot find any api that can provide such dummy products, though there are some like ebay dev, however, its such as hassle to request an access and read through all the long documentation since all I need is a fake product as a placeholder. Faker js would do, however, I'm looking for something that matches at least the name of the product and its type/department. and here you go!
stocks, sales, price, ratings
with operators lt, gt, lte, gte
(where in lt
is 'less than', and lte
'less than or equal to', same pattern goes with gt
& gte
)
/products
and /products/search
routesterm
which will throw an error if not providedpage
and limit
. You can use both at the same time or one at a time
page
& limit
) can be used with all routes except /departments
and /products/:product_id
This is a dummy e-commerce website that consumes this API. This one is built using Vanilla JS wrapped with Typescript :tada: (just for experimentation)
You can visit the repo here You can visit the website here
Please check this contributing guidlines
Thank you for all who contributed to this project!
Justin Balaguer |