# typicode/jsonplaceholder

**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/typicode-jsonplaceholder).**

5,244 stars · 597 forks · HTML · MIT

## Links

- GitHub: https://github.com/typicode/jsonplaceholder
- Homepage: https://jsonplaceholder.typicode.com
- awesome-repositories: https://awesome-repositories.com/repository/typicode-jsonplaceholder.md

## Topics

`api` `fake` `online` `rest`

## Description

JSONPlaceholder is a REST API mock server and JSON mocking service that provides a hosted frontend development sandbox. It functions as a fake backend that returns predefined JSON responses to simulate a REST API for development and testing.

The service supports cross-origin resource sharing, allowing API integrations to be tested from different browser domains. It enables the simulation of CRUD operations and the retrieval of mock data without requiring a live database.

The system maps URL patterns to a static JSON-based data store and handles requests statelessly. It includes capabilities for query-parameter filtering and nested resource mapping to simulate one-to-many relational data structures.

## Tags

### Development Tools & Productivity

- [REST API Mock Servers](https://awesome-repositories.com/f/development-tools-productivity/rest-api-mock-servers.md) — Implements a mock server that provides predefined resources and standard HTTP verbs to simulate a backend. ([source](https://cdn.jsdelivr.net/gh/typicode/jsonplaceholder@master/README.md))
- [Frontend API Mocking](https://awesome-repositories.com/f/development-tools-productivity/frontend-api-mocking.md) — Provides a hosted environment for simulating backend API responses and endpoints during frontend development.
- [JSON Mocking Services](https://awesome-repositories.com/f/development-tools-productivity/json-mocking-services.md) — Provides simulated JSON data across multiple endpoints to prototype applications without a live database.
- [REST API Prototyping Tools](https://awesome-repositories.com/f/development-tools-productivity/rest-api-prototyping-tools.md) — Enables building and testing frontend applications that require a functional API before the backend is developed.
- [API Client Debugging Tools](https://awesome-repositories.com/f/development-tools-productivity/api-client-debugging-tools.md) — Allows testing the behavior of HTTP clients against a stable and predictable set of REST endpoints.

### Data & Databases

- [Static JSON Stores](https://awesome-repositories.com/f/data-databases/data-engineering-infrastructure/data-persistence-storage/data-storage-architectures/flat-file-data-stores/static-json-stores.md) — Uses flat JSON files as a read-only data store to serve consistent mock responses.
- [Relational Resource Mapping](https://awesome-repositories.com/f/data-databases/data-resource-management/relational-resource-mapping.md) — Resolves relational data by linking child resource collections to parent entities via URL paths.
- [Mock Data Utilities](https://awesome-repositories.com/f/data-databases/mock-data-utilities.md) — Provides predefined datasets of users, posts, and comments to populate applications during development.
- [Nested Resource Routing](https://awesome-repositories.com/f/data-databases/relational-data-models/related-object-retrievers/nested-resource-routing.md) — Retrieves related data through nested routing to simulate one-to-many relationships between entities. ([source](https://cdn.jsdelivr.net/gh/typicode/jsonplaceholder@master/README.md))

### Testing & Quality Assurance

- [API Mocking](https://awesome-repositories.com/f/testing-quality-assurance/api-network-testing/api-mocking.md) — Simulates API responses to facilitate development and testing without live backend services.
- [Mock Data Generators](https://awesome-repositories.com/f/testing-quality-assurance/mock-data-generators.md) — Provides realistic placeholder JSON data for testing and development. ([source](http://jsonplaceholder.typicode.com/photos/1))
- [Frontend Integration Testing](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/testing-frameworks/test-frameworks/test-levels-and-types/component-testing-frameworks/frontend-integration-testing.md) — Verifies how user interfaces handle various JSON responses and HTTP status codes.
- [Mock Mutation Simulation](https://awesome-repositories.com/f/testing-quality-assurance/mock-data-generators/resolver-mocks/mock-mutation-simulation.md) — Simulates state-changing CRUD operations by returning success codes without altering the static data store. ([source](https://cdn.jsdelivr.net/gh/typicode/jsonplaceholder@master/README.md))

### Web Development

- [Client-Side API Simulations](https://awesome-repositories.com/f/web-development/client-side-api-simulations.md) — Emulates a backend lifecycle via a hosted API to enable decoupled frontend development.
- [Cross-Domain Request Handling](https://awesome-repositories.com/f/web-development/cross-domain-request-handling.md) — Implements CORS and JSONP to enable data exchange between different browser origins. ([source](https://cdn.jsdelivr.net/gh/typicode/jsonplaceholder@master/README.md))
- [Pattern-Based Route Mapping](https://awesome-repositories.com/f/web-development/web-infrastructure-deployment/web-infrastructure-servers/http-frameworks/http-route-handlers/pattern-based-route-mapping.md) — Maps incoming HTTP request paths to specific JSON data collections using predefined URL patterns.

### DevOps & Infrastructure

- [Query Parameter Filters](https://awesome-repositories.com/f/devops-infrastructure/resource-visibility-filters/query-parameter-filters.md) — Provides mechanisms for refining mock resource collections using API query parameters. ([source](https://jsonplaceholder.typicode.com/guide))

### Security & Cryptography

- [CORS Header Management](https://awesome-repositories.com/f/security-cryptography/cors-header-management.md) — Configures CORS headers to allow browser-based requests from any external domain.

### Software Engineering & Architecture

- [Stateless Request Processing](https://awesome-repositories.com/f/software-engineering-architecture/stateless-request-processing.md) — Handles CRUD operations statelessly by returning success responses without persisting changes.
