You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,11 @@ Inspired by the excellent [json-server](https://github.com/typicode/json-server)
14
14
15
15
## Example
16
16
17
+
Follow the guide below starting from scratch, or see the example live on StackBlitz:
18
+
19
+
[](https://stackblitz.com/fork/json-graphql-server)
20
+
21
+
17
22
Create a `db.js` file.
18
23
19
24
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