Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/typicode/jsonplaceholder
A simple online fake REST API server
https://github.com/typicode/jsonplaceholder
api fake online rest
Last synced: 3 days ago
JSON representation
A simple online fake REST API server
- Host: GitHub
- URL: https://github.com/typicode/jsonplaceholder
- Owner: typicode
- License: mit
- Created: 2013-09-20T13:49:48.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2024-07-10T06:58:17.000Z (4 months ago)
- Last Synced: 2024-10-29T20:08:18.001Z (5 days ago)
- Topics: api, fake, online, rest
- Language: HTML
- Homepage: https://jsonplaceholder.typicode.com
- Size: 2.21 MB
- Stars: 5,042
- Watchers: 79
- Forks: 582
- Open Issues: 89
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-tools - **jsonplaceholder**
README
# JSONPlaceholder
[JSONPlaceholder](https://jsonplaceholder.typicode.com) is a simple fake REST API for testing and prototyping.
It's like an [image placeholder](http://placehold.it/) but for web developers.
JSONPlaceholder is powered by [JSON Server](https://github.com/typicode/json-server).
## Why?
Most of the time when trying a new library, hacking a prototype or following a tutorial, I found myself in need of some data.
I didn't like the idea of using some public API because I had the feeling that I was spending more time registering a client and understanding a complex API than focusing on my task.
But I liked the idea of image placeholders for web designers. So I decided to code a little Express server inspired by that and here is JSONPlaceholder.
You can find it running here and are free to use it in your developments: https://jsonplaceholder.typicode.com.
I hope you will find it useful.
## Features
* No registration
* Zero-config
* Basic API
* "Has many" relationships
* Filters and nested resources
* Cross-domain ([CORS](http://en.wikipedia.org/wiki/Cross-origin_resource_sharing) and [JSONP](http://en.wikipedia.org/wiki/JSONP))
* Supports GET, POST, PUT, PATCH, DELETE and OPTIONS verbs
* HTTP or HTTPS
* Compatible with React, Angular, Vue, Ember, ...## Guide
For examples and more, you can visit https://jsonplaceholder.typicode.com