Skip to content

Commit be08698

Browse files
committed
added jsonserver
1 parent 94fd3d6 commit be08698

File tree

4 files changed

+1952
-0
lines changed

4 files changed

+1952
-0
lines changed

server-mock/config/routes.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"/api/*": "/$1"
3+
}

server-mock/mock-data/data.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"authors": [
3+
{
4+
"id": 1,
5+
"name": "Laika",
6+
"lastName": "Dog",
7+
"birthDate": "date"
8+
}
9+
],
10+
"books": [
11+
{
12+
"id": 1,
13+
"title": "bone",
14+
"author": "Laika",
15+
"genre": "comedy",
16+
"read": true
17+
}
18+
]
19+
}

0 commit comments

Comments
 (0)