# keikaavousi/fake-store-api

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/keikaavousi-fake-store-api).**

2,556 stars · 513 forks · EJS · MIT

## Links

- GitHub: https://github.com/keikaavousi/fake-store-api
- Homepage: https://fakestoreapi.com
- awesome-repositories: https://awesome-repositories.com/repository/keikaavousi-fake-store-api.md

## Description

This project is a REST mock API and e-commerce sandbox that provides simulated backend data for testing and prototyping. It serves as a JSON data provider, offering predefined endpoints to manage product catalogs, customer profiles, and shopping carts.

The system uses JSON-based mock persistence and in-memory state simulation to deliver consistent data without a database. It includes a JWT authentication mock that simulates user login flows by issuing tokens to verify identity and access to protected resources.

The API covers capabilities for catalog management, shopping cart operations, and user identity verification. It supports RESTful resource mapping and route-based data filtering to simulate standard database queries for specific products or users.

## Tags

### Development Tools & Productivity

- [E-commerce API Sandboxes](https://awesome-repositories.com/f/development-tools-productivity/e-commerce-api-sandboxes.md) — Provides a complete simulated environment with endpoints for product catalogs, shopping carts, and customer profiles.
- [Frontend API Mocking](https://awesome-repositories.com/f/development-tools-productivity/frontend-api-mocking.md) — Serves as a mock backend that simulates API responses for products, users, and carts to support frontend development. ([source](https://fakestoreapi.com/))

### Part of an Awesome List

- [Mock Data Providers](https://awesome-repositories.com/f/awesome-lists/data/json-and-data-parsing/json-data-stores/mock-data-providers.md) — Serves as a JSON data provider delivering simulated store records for development and prototyping.

### Business & Productivity Software

- [Product Catalog Management](https://awesome-repositories.com/f/business-productivity-software/product-configurators/product-catalog-management.md) — Provides administrative capabilities to modify metadata, pricing, and attributes of simulated e-commerce products. ([source](https://cdn.jsdelivr.net/gh/keikaavousi/fake-store-api@master/README.md))
- [Shopping Carts](https://awesome-repositories.com/f/business-productivity-software/shopping-carts.md) — Implements logic for creating and modifying user shopping carts and updating product quantities. ([source](https://cdn.jsdelivr.net/gh/keikaavousi/fake-store-api@master/README.md))
- [Cart Data Retrieval](https://awesome-repositories.com/f/business-productivity-software/shopping-carts/cart-data-retrieval.md) — Returns lists of shopping carts containing user associations and product quantities. ([source](https://fakestoreapi.com/carts))

### Networking & Communication

- [Mock User Profiles](https://awesome-repositories.com/f/networking-communication/contact-management/user-profile-retrieval/mock-user-profiles.md) — Provides simulated user profiles including names, emails, and physical addresses for testing purposes. ([source](https://fakestoreapi.com/users))

### Security & Cryptography

- [User Profile Management](https://awesome-repositories.com/f/security-cryptography/identity-access-management/identity-management/user-management/user-profile-management.md) — Provides functionality to store and retrieve mock user account details and contact information. ([source](https://cdn.jsdelivr.net/gh/keikaavousi/fake-store-api@master/README.md))
- [User Identity Verification](https://awesome-repositories.com/f/security-cryptography/identity-authentication/user-identity-verification.md) — Implements a flow to exchange simulated credentials for secure login tokens. ([source](https://cdn.jsdelivr.net/gh/keikaavousi/fake-store-api@master/README.md))
- [Authentication Mocks](https://awesome-repositories.com/f/security-cryptography/jwt-authentication/authentication-mocks.md) — Implements a JWT authentication mock that simulates user login flows and issues tokens to verify access logic.
- [Session Token Issuance](https://awesome-repositories.com/f/security-cryptography/token-based-authentication/session-token-issuance.md) — Simulates authentication by issuing static tokens to test protected route logic in frontend applications.

### System Administration & Monitoring

- [Product Information Retrieval](https://awesome-repositories.com/f/system-administration-monitoring/notification-channels/product-sku-retrieval/product-information-retrieval.md) — Enables retrieval of detailed product catalogs, including pricing, descriptions, and customer ratings. ([source](https://fakestoreapi.com/products/1))
- [Mock Product Datasets](https://awesome-repositories.com/f/system-administration-monitoring/notification-channels/product-sku-retrieval/product-information-retrieval/mock-product-datasets.md) — Returns collections of simulated product records containing titles, prices, descriptions, and images. ([source](https://fakestoreapi.com/products))

### Testing & Quality Assurance

- [E-commerce Workflow Simulation](https://awesome-repositories.com/f/testing-quality-assurance/e-commerce-workflow-simulation.md) — Simulates product catalogs, shopping carts, and order workflows to verify online store behavior.
- [REST API Testing Tools](https://awesome-repositories.com/f/testing-quality-assurance/rest-api-testing-tools.md) — Offers a predictable set of simulated endpoints for debugging and developing client-side API integrations.
- [Authentication Mocks](https://awesome-repositories.com/f/testing-quality-assurance/api-network-testing/authentication-testing-utilities/test-user-authenticators/authentication-mocks.md) — Generates test login tokens to validate authentication flows and verify access to protected resources. ([source](https://fakestoreapi.com/))

### Data & Databases

- [JSON-Based Persistence](https://awesome-repositories.com/f/data-databases/data-engineering-infrastructure/data-persistence-storage/data-storage/file-based-storage/local-file-storage/json-based-persistence.md) — Persists simulated e-commerce data in static JSON files to maintain a consistent state across restarts.
- [Data Query Filters](https://awesome-repositories.com/f/data-databases/data-query-filters.md) — Filters simulated data collections using URL parameters to mimic database queries for specific IDs.
- [In-Memory State Stores](https://awesome-repositories.com/f/data-databases/in-memory-databases/in-memory-state-stores.md) — Loads JSON data into memory at startup for low-latency access to simulated profiles and carts.

### Web Development

- [REST Resource Mapping](https://awesome-repositories.com/f/web-development/rest-resource-mapping.md) — Maps URL endpoints to mock data collections, allowing standard HTTP methods to manipulate records.
