update fixtures

This commit is contained in:
typicode
2024-01-11 07:49:52 +01:00
parent 4d251cb71f
commit af73a694e8
3 changed files with 16 additions and 1 deletions

1
.gitignore vendored
View File

@ -5,4 +5,3 @@ lib
node_modules
public/output.css
tmp
db.json

13
fixtures/db.json Normal file
View File

@ -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"
}
}

View File

@ -21,4 +21,7 @@
postId: '1',
},
],
profile: {
name: 'typicode',
},
}