We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03a3bd0 commit 23b5159Copy full SHA for 23b5159
README.md
@@ -31,6 +31,28 @@ Create a `db.json` (or `db.json5`) file
31
}
32
```
33
34
+<details>
35
+
36
+<summary>`db.json5`</summary>
37
38
+```json5
39
+{
40
+ posts: [
41
+ { id: '1', title: 'a title' },
42
+ { id: '2', title: 'another title' },
43
+ ],
44
+ comments: [
45
+ { id: '1', text: 'a comment about post 1', postId: '1' },
46
+ { id: '2', text: 'another comment about post 1', postId: '1' },
47
48
+ profile: {
49
+ name: 'typicode',
50
+ },
51
+}
52
+```
53
54
+</details>
55
56
Pass it to JSON Server CLI
57
58
```shell
0 commit comments