forked from 202303-PRM-TR-FEW/Capstone-GZIHMH
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdb.js
259 lines (241 loc) · 6.23 KB
/
db.js
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
const db = {
'courses': [
{
id: 1,
image: '/assets/images/profilePic5.jpeg',
title: 'Becoming a Photographer',
user_id: 1,
completion_ratio: 55,
duration: 43,
rating: 4.7,
price: 100,
description: 'This online course for you if you are in taking great digital photo and learning jow to make your photography unique and outstanding',
saved: false,
},
{
id: 2,
image: '/assets/images/2c1a496b-9948-4cb1-b87e-dbd417261382.jpg',
title: 'Design Thinking 2.0',
user_id: 2,
completion_ratio: 27,
duration: 43,
rating: 4.7,
price: 75,
description: 'This online course for you if you are in taking great digital photo and learning jow to make your photography unique and outstanding',
saved: false,
},
{
id: 3,
image: '/assets/images/937fc2b0-e1c5-4a5a-93f7-34d23cd5ca6d.jpg',
title: 'Product Photography',
user_id: 3,
completion_ratio: 11,
duration: 43,
rating: 4.7,
price: 50,
description: 'This online course for you if you are in taking great digital photo and learning jow to make your photography unique and outstanding',
saved: false,
},
{
id: 4,
image: '/assets/images/photo-1614644147798-f8c0fc9da7f6.jpeg',
title: 'Learn how to make portriats',
user_id: 4,
completion_ratio: 27,
duration: 43,
rating: 4.7,
price: 75,
description: 'This online course for you if you are in taking great digital photo and learning jow to make your photography unique and outstanding',
saved: false,
},
{
id: 5,
image: '/assets/images/background1.jpeg',
title: 'Power BI',
user_id: 5,
completion_ratio: 56,
duration: 103,
rating: 4.9,
price: 24,
description: 'This online course is for you if you are interested in mastering Power BI',
saved: false,
},
{
id: 6,
image: '/assets/images/background2.jpeg',
title: 'Agile Project Management',
user_id: 6,
completion_ratio: 56,
duration: 59,
rating: 4.3,
price: 18,
description: 'This online course is designed for individuals interested in learning Agile Project Management methodologies and techniques to effectively manage projects in dynamic and fast-paced environments.',
saved: true,
},
{
id: 7,
image: '/assets/images/background3.jpeg',
title: 'Pivot Tables',
user_id: 7,
completion_ratio: 56,
duration: 83,
rating: 4.6,
price: 24,
description: 'This online course is designed for individuals who want to master the art of using pivot tables in data analysis. Learn how to organize and analyze large datasets, create insightful reports, and make data-driven decisions.',
saved: true,
},
{
id: 8,
image: '/assets/images/background4.jpeg',
title: 'Power BI',
user_id: 8,
completion_ratio: 56,
duration: 77,
rating: 4.1,
price: 24,
description: 'This online course is for you if you are interested in mastering Power BI',
saved: true,
},
{
id: 9,
image: '/assets/images/uxresearch.jpeg',
title: 'UX Research',
user_id: 5,
completion_ratio: 0,
duration: 75,
rating: 3.1,
price: 35,
description: 'This online course is for you if you are interested in Learning the basics of UX',
saved: false,
},
{
id: 10,
image: '/assets/images/uxessentials.jpeg',
title: 'UX Essentials',
user_id: 6,
completion_ratio: 0,
duration: 75,
rating: 3.1,
price: 35,
description: 'This online course is for you if you are interested in Learning the basics of UX',
saved: false,
},
{
id: 11,
image: '/assets/images/uxforbeginners.jpeg',
title: 'UX for Beginners',
user_id: 7,
completion_ratio: 0,
duration: 75,
rating: 3.1,
price: 35,
description: 'This online course is for you if you are interested in Learning the basics of UX',
saved: false,
},
{
id: 12,
image: '/assets/images/howtoux.jpeg',
title: 'How to UX',
user_id: 8,
completion_ratio: 0,
duration: 75,
rating: 3.1,
price: 35,
description: 'This online course is for you if you are interested in Learning the basics of UX',
saved: false,
},
],
'person': [{
id: 1,
name: 'David Lee',
userName: 'davidl',
password: 'qwerty',
isTeacher: true,
email: '[email protected]',
friendsList: [
2, 3
]
},
{
id: 2,
name: 'Jane Smith',
userName: 'janesmith',
password: 'abc123',
isTeacher: true,
email: '[email protected]',
friendsList: [
2, 3,
],
courseList: [
1, 2, 3, 4
]
},
{
id: 3,
name: 'Alex Johnson',
userName: 'alexj',
password: 'passw0rd',
isTeacher: true,
email: '[email protected]',
friendsList: [
3, 4,
]
},
{
id: 4,
name: 'Emilys Davis',
userName: 'emilyd',
password: 'hello123',
isTeacher: true,
email: '[email protected]',
friendsList: [
1, 3,
]
},
{
id: 5,
name: 'Chris Kinley',
userName: 'kinley',
password: 'hello123',
isTeacher: true,
email: '[email protected]',
friendsList: [
2, 4,
]
},
{
id: 6,
name: 'Don Draper',
userName: 'dondon',
password: 'hello123',
isTeacher: true,
email: '[email protected]',
friendsList: [
1, 5,
]
},
{
id: 7,
name: 'Ben Starter',
userName: 'benben',
password: 'hello123',
isTeacher: true,
email: '[email protected]',
friendsList: [
4, 5, 6,
]
},
{
id: 8,
name: 'Anna May',
userName: 'annaanna',
password: 'hello123',
isTeacher: true,
email: '[email protected]',
friendsList: [
4, 5, 6,
]
},
],
}
export default db