This API allows you to get a list of products from the MyTheresa store, filtered by category and with discounts applied to certain products.
- Docker
- Docker Compose
-
Clone the repository and navigate to the project directory:
git clone https://github.com/woker21/BackLaravelTestCap cd BackLaravelTestCap -
Build and launch containers with Docker:
docker run -d -p 8000:80 restapi_php-app
-
The API will be available at:
http://localhost:8000/api/products
You can filter products by category or by price using the category and priceLessThan parameters. For example:
http://localhost:8000/api/products?category=boots&priceLessThan=10000