Skip to content

Commit 2f93924

Browse files
author
flo
committed
Refactor: updated db.json file sync with json-server example
1 parent ab6a26d commit 2f93924

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

db.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
2-
"basic": {
3-
"hello": "world"
4-
}
2+
"posts": [
3+
{ "id": 1, "title": "json-server", "author": "typicode" }
4+
],
5+
"comments": [
6+
{ "id": 1, "body": "some comment", "postId": 1 }
7+
],
8+
"profile": { "name": "typicode" }
59
}

0 commit comments

Comments
 (0)