starting state
This commit is contained in:
19
data/db.json
Normal file
19
data/db.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"posts": [
|
||||
{
|
||||
"title": "Post 1",
|
||||
"text": "text 1",
|
||||
"_id": 1
|
||||
},
|
||||
{
|
||||
"title": "Post 2",
|
||||
"text": "text 2",
|
||||
"_id": 2
|
||||
},
|
||||
{
|
||||
"title": "a",
|
||||
"text": "b",
|
||||
"_id": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
3
data/routes.json
Normal file
3
data/routes.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"/api/": "/"
|
||||
}
|
||||
Reference in New Issue
Block a user