`Where can I find an Api with an array of products, where through "/" you can specify the page, number of products per page, category selection and search?
V
V
vovashaplin2020-05-22 14:06:20
API
vovashaplin, 2020-05-22 14:06:20

Where can I find an Api with an array of products, where through "/" you can specify the page, number of products per page, category selection and search?

Here is an Api example that I found, but it is impossible to specify the search and selection of a product category through "/"

axios.get(`https://reqres.in/api/users?page=${state.currentPage}&per_page=${state.pageSize}`)
axios.get(`https://reqres.in/api/users/${id}`)

Because it would be very cool to pass the same variable with the search and at the same time what I passed above to easily show the product, because getting a whole array of products and then sorting it, it seems to me that this is time-consuming
Or where can I just create such an API? I need it to create my first React online store.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2020-05-22
@firedragon

Create it on the same nodejs, spend less time than you will look for

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question