diff --git a/.gitignore b/.gitignore index 621febe..e0b3ff2 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,3 @@ lib node_modules public/output.css tmp -db.json diff --git a/fixtures/db.json b/fixtures/db.json new file mode 100644 index 0000000..4e736d1 --- /dev/null +++ b/fixtures/db.json @@ -0,0 +1,13 @@ +{ + "posts": [ + { "id": "1", "title": "a title" }, + { "id": "2", "title": "another title" } + ], + "comments": [ + { "id": "1", "text": "a comment about post 1", "postId": "1" }, + { "id": "2", "text": "another comment about post 1", "postId": "1" } + ], + "profile": { + "name": "typicode" + } +} \ No newline at end of file diff --git a/fixtures/db.json5 b/fixtures/db.json5 index e4b0068..3b06138 100644 --- a/fixtures/db.json5 +++ b/fixtures/db.json5 @@ -21,4 +21,7 @@ postId: '1', }, ], + profile: { + name: 'typicode', + }, } \ No newline at end of file