starting state

This commit is contained in:
Märt Kalmo
2017-05-17 18:36:09 +03:00
commit e76e49aa61
21 changed files with 300 additions and 0 deletions

19
data/db.json Normal file
View 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
View File

@@ -0,0 +1,3 @@
{
"/api/": "/"
}