Product Search API

21 Views Asked by At

Develop a FastAPI endpoint for searching products.

● Accept query parameters for product name, category, and price range.

● Implement string validation for product name and category.

● Apply numeric validation for price range parameters.

● Return a list of products matching the search criteria.

● Test the API with various combinations of query parameters

I tried using query parameters, created a function to search through various products, returned a placeholder for actual search logic. I got stuck after that.

0

There are 0 best solutions below