Skip to content

Instantly share code, notes, and snippets.

@lalyos
Last active October 15, 2020 17:24
Show Gist options
  • Save lalyos/2be21105e3607b4981c85a542cedc7fc to your computer and use it in GitHub Desktop.
Save lalyos/2be21105e3607b4981c85a542cedc7fc to your computer and use it in GitHub Desktop.
sample issues.json to be used with https://github.com/lalyos/docker-json-server

Fake/Quick rest api prototype by combinig:

docker run -d \
  --name json-server \
  -p 3000:3000 \
  lalyos/json-server https://gist.githubusercontent.com/lalyos/2be21105e3607b4981c85a542cedc7fc/raw/issues.json

then you can browse http://localhost:3000 to see this: ui

{
"issues": [
{
"id": 101,
"text": "first task"
},
{
"id": 102,
"text": "secon task"
},
{
"id": 103,
"text": "third task"
}
]
}
{
"speakers": [
{
"id": 101,
"text": "kroy"
},
{
"id": 102,
"text": "pp"
},
{
"id": 103,
"text": "iben"
},
{
"id": 104,
"text": "lalyos"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment