forked from datasketch/frontend-coding-test
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdb.json
More file actions
375 lines (375 loc) · 8.92 KB
/
db.json
File metadata and controls
375 lines (375 loc) · 8.92 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
{
"people": [
{
"id": 1,
"fullName": "John Doe",
"age": 32,
"occupation": "Software Developer",
"nickname": "Johnny",
"gender": "Male",
"picture": "https://randomuser.me/api/portraits/lego/1.jpg"
},
{
"fullName": "Jane Smith Taylor",
"occupation": "Doctor",
"age": 27,
"nickname": "Jane",
"gender": "Female",
"picture": "https://randomuser.me/api/portraits/lego/9.jpg",
"id": 2
},
{
"fullName": "Bob Johnson",
"occupation": "Teacher",
"age": "99",
"nickname": "Bobby",
"gender": "Male",
"picture": "https://randomuser.me/api/portraits/lego/3.jpg",
"id": 3
},
{
"id": 4,
"fullName": "Alice Williams",
"age": 29,
"occupation": "Lawyer",
"nickname": "Ali",
"gender": "Female",
"picture": "https://randomuser.me/api/portraits/lego/4.jpg"
},
{
"id": 5,
"fullName": "Michael Brown",
"age": 41,
"occupation": "Construction Worker",
"nickname": "Mike",
"gender": "Male",
"picture": "https://randomuser.me/api/portraits/lego/5.jpg"
},
{
"id": 6,
"fullName": "Emily Davis",
"age": 36,
"occupation": "Nurse",
"nickname": "Em",
"gender": "Female",
"picture": "https://randomuser.me/api/portraits/lego/6.jpg"
},
{
"fullName": "David Anderson",
"occupation": "Police Officer",
"age": 38,
"nickname": "Dave",
"gender": "Male",
"picture": "https://randomuser.me/api/portraits/lego/7.jpg",
"Nickname": "Mr. Friday",
"id": 7
},
{
"fullName": "Samantha Taylor",
"occupation": "Graphic Designer",
"age": 26,
"nickname": "Sam",
"gender": "Female",
"picture": "https://randomuser.me/api/portraits/lego/1.jpg",
"id": 8
},
{
"fullName": "Lucero Sanchez",
"occupation": "Accountant",
"age": 33,
"nickname": "Lucerito",
"gender": "Male",
"picture": "https://randomuser.me/api/portraits/lego/9.jpg",
"id": 9
},
{
"id": 10,
"fullName": "Ashley Johnson",
"age": 30,
"occupation": "Salespeople",
"nickname": "Ash",
"gender": "Female",
"picture": "https://randomuser.me/api/portraits/lego/2.jpg"
}
],
"tasks": [
{
"id": 1,
"title": "Task 1",
"description": "This is the first task on the list.",
"completed": false,
"startDate": "2022-12-04",
"endDate": null,
"personId": 1
},
{
"id": 3,
"title": "Task 3",
"description": "This is the third task on the list.",
"completed": true,
"startDate": "2022-12-04",
"endDate": null,
"personId": 3
},
{
"id": 4,
"title": "Task 4",
"description": "This is the fourth task on the list.",
"completed": true,
"startDate": "2022-12-04",
"endDate": "2022-12-06",
"personId": 4
},
{
"id": 5,
"title": "Task 5",
"description": "This is the fifth task.",
"completed": true,
"startDate": "2022-12-07",
"endDate": "2023-01-16",
"personId": 5
},
{
"id": 6,
"title": "Task 6",
"description": "This is the sixth task on the list.",
"completed": true,
"startDate": "2022-12-04",
"endDate": "2022-12-07",
"personId": 6
},
{
"id": 7,
"title": "Task 7",
"description": "This is the seventh task on the list.",
"completed": false,
"startDate": "2022-12-04",
"endDate": null,
"personId": 7
},
{
"id": 8,
"title": "Task 8",
"description": "This is the 8th task on the list.",
"completed": true,
"startDate": "2022-12-04",
"endDate": "2022-12-08",
"personId": 8
},
{
"id": 9,
"title": "Task 9",
"description": "This is the ninth task on the list.",
"completed": false,
"startDate": "2022-12-04",
"endDate": null,
"personId": 9
},
{
"id": 10,
"title": "Task 10",
"description": "This is the tenth task on the list.",
"completed": true,
"startDate": "2022-12-04",
"endDate": null
},
{
"id": 11,
"title": "Task 11",
"description": "This is the eleventh task on the list.",
"completed": false,
"startDate": "2022-12-04",
"endDate": null,
"personId": 1
},
{
"id": 12,
"title": "Task 12",
"description": "This is the twelfth task on the list.",
"completed": true,
"startDate": "2022-12-04",
"endDate": "2022-12-05",
"personId": 2
},
{
"id": 13,
"title": "Task 13",
"description": "This is the thirteenth task on the list.",
"completed": false,
"startDate": "2022-12-04",
"endDate": null,
"personId": 3
},
{
"id": 14,
"title": "Task 14",
"description": "This is the fourteenth task on the list.",
"completed": true,
"startDate": "2022-12-04",
"endDate": "2022-12-06",
"personId": 4
},
{
"id": 15,
"title": "Task 15",
"description": "This is the fifteenth task on the list.",
"completed": false,
"startDate": "2022-12-04",
"endDate": null,
"personId": 5
},
{
"id": 16,
"title": "Task 16",
"description": "This is the sixteenth task on the list.",
"completed": false,
"startDate": "2022-12-04",
"endDate": null,
"personId": 6
},
{
"id": 17,
"title": "Task 17",
"description": "This is the seventeenth task on the list.",
"completed": true,
"startDate": "2022-12-04",
"endDate": "2022-12-05",
"personId": 7
},
{
"id": 18,
"title": "Task 18",
"description": "This is the eighteenth task on the list.",
"completed": false,
"startDate": "2022-12-04",
"endDate": null,
"personId": 8
},
{
"id": 19,
"title": "Task 19",
"description": "This is the nineteenth task on the list.",
"completed": true,
"startDate": "2022-12-04",
"endDate": "2023-12-06",
"personId": 9
},
{
"id": 20,
"title": "Task 20",
"description": "This is the twentieth task on the list.",
"completed": false,
"startDate": "2022-12-04",
"endDate": "2023-07-08",
"personId": 10
},
{
"id": 2,
"title": "Task 2",
"description": "This is the second task on the list.",
"completed": true,
"startDate": "2022-12-04",
"endDate": "2022-12-05",
"personId": 2
},
{
"id": 21,
"title": "Task 21",
"description": "This is the twenty-first task",
"completed": false,
"startDate": "2023-01-30",
"endDate": "2023-07-08",
"personId": 10
},
{
"id": 22,
"title": "Task 22",
"description": "This is the twenty-second task",
"completed": true,
"startDate": "2023-01-30",
"endDate": "2023-07-08",
"personId": 8
},
{
"id": 23,
"title": "Task 23",
"description": "This is the twenty-third task",
"completed": false,
"startDate": "2023-02-10",
"endDate": "2023-04-08",
"personId": 11
},
{
"id": 24,
"title": "Task 24",
"description": "This is task number 24",
"completed": false,
"startDate": "2023-01-30",
"endDate": "2023-07-08",
"personId": null
},
{
"id": 25,
"title": "yayaaay",
"description": "ddhdjdjhbdjdbhjhd",
"completed": false,
"startDate": "2023-01-30",
"endDate": "2023-07-08",
"personId": 4
},
{
"id": 26,
"title": "Task 26",
"description": "This is task number 26",
"completed": false,
"startDate": "2023-02-20",
"endDate": "2023-07-08",
"personId": null
},
{
"id": 27,
"title": "Task 27",
"description": "Task 27",
"completed": false,
"startDate": "2023-03-30",
"endDate": "2023-07-08",
"personId": 5
},
{
"id": 28,
"title": "tssd",
"description": "This is task number 28",
"completed": false,
"startDate": "2023-03-30",
"endDate": "2023-07-08",
"personId": 1
},
{
"id": 29,
"title": "Task 29",
"description": "Repair the astronaut helmets",
"completed": false,
"startDate": "2023-03-30",
"endDate": "2023-07-08",
"personId": 5
},
{
"id": 30,
"title": "Task 30",
"description": "This the task 30",
"completed": false,
"startDate": "2023-03-30",
"endDate": "2023-07-08",
"personId": 2
},
{
"id": 31,
"title": "Task 31",
"description": "This is task number 31",
"completed": false,
"startDate": "2023-03-30",
"endDate": "2023-07-08",
"personId": 7
}
]
}