Fake API server based on https://github.com/typicode/json-server
533
Fake API server based on https://github.com/typicode/json-server
Create/Update a db.json file with some data
{
"posts": [
{ "id": 1, "title": "json-server", "author": "typicode" }
],
"comments": [
{ "id": 1, "body": "some comment", "postId": 1 }
],
"profile": { "name": "typicode" }
}
docker run -d \
-p 80:3000 -v {pwd}:/data \
demotascha/json-server
Content type
Image
Digest
Size
27.1 MB
Last updated
almost 7 years ago
docker pull demotascha/json-server