Skip to content

Commit

Permalink
feat: POST method and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davguij committed Nov 26, 2017
1 parent 0655e4a commit 7335b57
Show file tree
Hide file tree
Showing 6 changed files with 1,680 additions and 16 deletions.
44 changes: 44 additions & 0 deletions db.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"posts": [
{
"id": 1,
"title": "json-server",
"author": "typicode"
},
{
"id": 823,
"title": "json-server",
"author": "typicode"
},
{
"id": 16493,
"title": "json-server",
"author": "typicode"
},
{
"id": 96310,
"title": "json-server",
"author": "typicode"
},
{
"id": 57310,
"title": "json-server",
"author": "typicode"
},
{
"id": 7484,
"title": "json-server",
"author": "typicode"
}
],
"comments": [
{
"id": 1,
"body": "some comment",
"postId": 1
}
],
"profile": {
"name": "typicode"
}
}
Loading

0 comments on commit 7335b57

Please sign in to comment.