-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdb.json
More file actions
124 lines (124 loc) · 2.69 KB
/
db.json
File metadata and controls
124 lines (124 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"posts": [
{
"id": "61d5e259e9f754af7a482500",
"fullname": "Eric Olsen",
"age": 25,
"image": "https://i.pravatar.cc/50?u=1",
"socialUrl": "https://www.instagram.com/eric-olsen",
"isAdmin": true,
"status": "active"
},
{
"id": "61d5e6509ca7b5486f244692",
"fullname": "Cailyn Warner",
"age": 30,
"image": "https://i.pravatar.cc/50?u=2",
"socialUrl": "https://www.instagram.com/cailyn-warner",
"isAdmin": false,
"status": "active"
},
{
"id": "61d5e6977daeac038c809f45",
"fullname": "Danna Simpson",
"age": 27,
"image": "https://i.pravatar.cc/50?u=3",
"socialUrl": "https://www.instagram.com/danna-simpson",
"isAdmin": false,
"status": "inactive"
},
{
"id": "61d5e830855604cac2540d37",
"fullname": "Frank Simpson",
"age": 27,
"image": "https://i.pravatar.cc/50?u=4",
"socialUrl": "https://www.instagram.com/frank-simpson",
"isAdmin": false,
"status": "pending"
},
{
"id": "61d5e88d7b851e426bed58bb",
"fullname": "Victor Walker",
"age": 33,
"image": "https://i.pravatar.cc/50?u=5",
"socialUrl": "https://www.instagram.com/victor-walker",
"isAdmin": false,
"status": "inactive"
},
{
"id": "61d5e8ba37adb8657458b871",
"fullname": "Melany Frank",
"age": 29,
"image": "https://i.pravatar.cc/50?u=6",
"socialUrl": "https://www.instagram.com/melany-frank",
"isAdmin": true,
"status": "active"
}
],
"page": {
"fields": [
{
"name": "fullname",
"component": "Input",
"type": "text",
"required": true
},
{
"name": "socialUrl",
"component": "Input",
"type": "text",
"required": false
},
{
"name": "status",
"component": "Select",
"options": [
"active",
"inactive",
"pending"
],
"required": true
},
{
"name": "age",
"component": "Input",
"type": "number",
"required": false
},
{
"name": "address",
"component": "Input",
"type": "text",
"required": false
},
{
"name": "image",
"component": "Input",
"type": "text",
"required": true
},
{
"name": "isAdmin",
"component": "Checkbox",
"required": true
}
],
"filters": [
{
"name": "fullname",
"component": "Input"
},
{
"name": "status",
"component": "Select",
"options": [
"active",
"inactive",
"pending"
]
}
],
"endpointListPost": "https://my-json-server.typicode.com/fizzmod/dummy-server/posts",
"endpointGetPut": "https://my-json-server.typicode.com/fizzmod/dummy-server/posts/{id}"
}
}