Fake Store API Demo

This demo website shows a storefront UI and a REST API backend inspired by FakeStoreAPI. Use the UI, inspect the API endpoints, and call them directly from your tools.

The API data is stored temporarily in ../util/store-data.json. The API endpoint is /api/store-api.php.

Live Storefront

Create a Cart

API Endpoints

  • GET /api/store-api.php/products
  • GET /api/store-api.php/products/{id}
  • GET /api/store-api.php/products/categories
  • GET /api/store-api.php/products/category/{category}
  • GET /api/store-api.php/carts
  • GET /api/store-api.php/carts/{id}
  • GET /api/store-api.php/users
  • POST /api/store-api.php/carts
  • DELETE /api/store-api.php/carts/{id}

API Tool

Response