-
Notifications
You must be signed in to change notification settings - Fork 0
/
db.json
305 lines (305 loc) · 7.74 KB
/
db.json
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
{
"searchFilters": [
{
"id": 1,
"name": "завтрак",
"isSelected": false
},
{
"id": 2,
"name": "обед",
"isSelected": false
},
{
"id": 3,
"name": "ужин",
"isSelected": false
},
{
"id": 4,
"name": "десерт",
"isSelected": false
},
{
"id": 5,
"name": "мясо",
"isSelected": false
},
{
"id": 6,
"name": "рыба",
"isSelected": false
},
{
"id": 7,
"name": "напитки",
"isSelected": false
},
{
"id": 8,
"name": "горячее",
"isSelected": false
},
{
"id": 9,
"name": "холодное",
"isSelected": false
},
{
"id": 10,
"name": "закуска",
"isSelected": false
},
{
"id": 11,
"name": "углеводы",
"isSelected": false
},
{
"id": 12,
"name": "выпечка",
"isSelected": false
}
],
"recipesPreview": [
{
"id": 1,
"rating": 4.3,
"time": 30,
"portionsNumber": 4,
"name": "Блины с творогом",
"imgName": "blini-with-quark",
"filters": [
"десерт",
"холодное",
"завтрак",
"выпечка"
],
"isFavorite": false
},
{
"id": 2,
"rating": 4.5,
"time": 150,
"portionsNumber": 6,
"name": "Борщ с яблоками",
"imgName": "borscht-with-apples",
"filters": [
"обед",
"горячее",
"углеводы"
],
"isFavorite": true
},
{
"id": 3,
"rating": 4.5,
"time": 480,
"portionsNumber": 8,
"name": "Тирамису",
"imgName": "tiramisu",
"filters": [
"десерт",
"холодное",
"углеводы"
],
"isFavorite": true
},
{
"id": 4,
"rating": 4.7,
"time": 50,
"portionsNumber": 12,
"name": "Кексы с вишней",
"imgName": "cupcakes-with-cherries",
"filters": [
"десерт",
"холодное",
"выпечка"
],
"isFavorite": true
},
{
"id": 5,
"rating": 4.9,
"time": 5,
"portionsNumber": 1,
"name": "Творог с бананом",
"imgName": "cottage-cheese-with-banana",
"filters": [
"десерт",
"завтрак",
"углеводы"
],
"isFavorite": false
}
],
"recipes": {
"1": {
"id": 1,
"name": "Блины с творогом",
"rating": 4.3,
"filters": [
"десерт",
"холодное",
"завтрак",
"выпечка"
],
"time": 30,
"country": "Международный",
"type": "-",
"servings": 4,
"imgName": "blini-with-quark",
"ingredients": [
{
"id": 1,
"name": "Индейка охлажд.",
"calories": 30,
"proteins": 34,
"fats": 54,
"carbohydrates": 21,
"capacity": 100
},
{
"id": 2,
"name": "Картофель.",
"calories": 30,
"proteins": 34,
"fats": 54,
"carbohydrates": 21,
"capacity": 200
}
],
"stages": [
{
"id": 1,
"number": 1,
"description": "Это текст приготовления первого этапа. Нужно что-то сделать с индейкой, например, нарезать. Можно поплакать над её ценой, особенно, если ты студент(ка)."
},
{
"id": 2,
"number": 2,
"description": "Потом можно идти резать дешёвую картошку на другой доске. Радоваться тому, как она хорошо режется. Главное, не забывай про другую доску, а то прошлая от сырого мяса - бе."
}
]
},
"2": {
"id": 2,
"name": "Борщ с яблоками",
"rating": 4.5,
"filters": [
"обед",
"горячее",
"углеводы"
],
"time": 150,
"country": "Россия",
"type": "-",
"servings": 6,
"imgName": "borscht-with-apples",
"ingredients": [
{
"id": 1,
"name": "Говядина",
"calories": 20,
"proteins": 54,
"fats": 14,
"carbohydrates": 11,
"capacity": 500
},
{
"id": 2,
"name": "Свекла",
"calories": 24,
"proteins": 34,
"fats": 4,
"carbohydrates": 21,
"capacity": 100
},
{
"id": 3,
"name": "Картофель.",
"calories": 30,
"proteins": 34,
"fats": 54,
"carbohydrates": 21,
"capacity": 200
},
{
"id": 4,
"name": "Морковь",
"calories": 24,
"proteins": 34,
"fats": 4,
"carbohydrates": 21,
"capacity": 100
},
{
"id": 5,
"name": "Лук",
"calories": 24,
"proteins": 34,
"fats": 4,
"carbohydrates": 21,
"capacity": 50
},
{
"id": 6,
"name": "Капуста",
"calories": 24,
"proteins": 34,
"fats": 4,
"carbohydrates": 21,
"capacity": 150
}
],
"stages": [
{
"id": 1,
"number": 1,
"description": "Налейте в кастрюлю холодную воду, выложите мясо и поставьте на средний огонь. Бульон будет вкуснее, если использовать именно мясо на кости."
},
{
"id": 2,
"number": 2,
"description": "Вымойте и почистите свёклу, морковь и лук. Свёклу натрите на крупной тёрке, а морковь — на средней. Лук нарежьте небольшими кубиками.Налее масло в сковороду, включите средний огонь. Обжаривайте лук и морковь, помешивая, около 5 минут."
},
{
"id": 3,
"number": 3,
"description": "Когда бульон сварится, выньте из него мясо. Пока оно остывает, засыпьте в кастрюлю нашинкованную капусту. Через 5–10 минут добавьте нарезанный соломкой или кубиками картофель."
},
{
"id": 4,
"number": 4,
"description": "Ждите пока вода закипит. Для аромата можно добавить в кастрюлю немного измельчённого чеснока, молотой гвоздики или чёрного перца. Оставьте борщ под крышкой настаиваться 5–10 минут."
}
]
}
},
"users": [
{
"id": 1,
"name": "1",
"password": "1"
},
{
"id": 2,
"name": "2",
"password": "2"
},
{
"id": 3,
"name": "vlad",
"password": "1"
},
{
"id": 4,
"name": "",
"password": ""
}
],
"profile": {
"name": "typicode"
}
}