Skip to content

Commit 8aa8ffd

Browse files
authored
Merge pull request #123 from sulco/patch-1
Provide a live demo of example to the readme
2 parents 4471045 + ef23a9e commit 8aa8ffd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ Inspired by the excellent [json-server](https://github.com/typicode/json-server)
1414

1515
## Example
1616

17+
Follow the guide below starting from scratch, or see the example live on StackBlitz:
18+
19+
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/json-graphql-server)
20+
21+
1722
Create a `db.js` file.
1823

1924
Your data file should export an object where the keys are the entity types. The values should be lists of entities, i.e. arrays of value objects with at least an `id` key. For instance:

0 commit comments

Comments
 (0)