-
Notifications
You must be signed in to change notification settings - Fork 0
/
db.json
173 lines (173 loc) · 3.6 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
{
"peoples": [
{
"id": 1,
"login": "User1",
"passWord": "User1AZERTY",
"mail": "User1@gmail.com",
"grade": 0,
"dateInscription": "2020-12-03T14:27:01.342Z"
},
{
"id": 2,
"login": "User2",
"passWord": "User2ZERTY",
"mail": "User2gmail.com",
"grade": 0,
"dateInscription": "2020-12-03T14:27:01.342Z"
},
{
"id": 3,
"login": "User3",
"passWord": "User3ZERTY",
"mail": "User3gmail.com",
"grade": 1,
"dateInscription": "2020-12-03T14:27:01.342Z"
}
],
"recipes": [
{
"id": 1,
"title": "PAIN",
"content": "AA",
"preparationTime": "10 min",
"creationDate": "10-11-1999",
"nbPeople": "5 personnes",
"idPeople": "1"
},
{
"id": 2,
"title": "COUSCOUS",
"content": "AA",
"preparationTime": "15 min",
"creationDate": "12-11-1999",
"nbPeople": "4 personnes",
"idPeople": "2"
},
{
"id": 3,
"title": "CASOULET",
"content": "AA",
"preparationTime": "30 min",
"creationDate": "14-11-1999",
"nbPeople": "6 personnes",
"idPeople": "2"
}
],
"foods": [
{
"id": 1,
"nameFood": "poulet",
"calorie": 20,
"measure": "grammes"
},
{
"id": 2,
"nameFood": "Farine",
"calorie": 0,
"measure": "grammes"
},
{
"id": 3,
"nameFood": "maiss",
"calorie": 20,
"measure": "grammes"
}
],
"foodsInRecipe": [
{
"id": 1,
"idRecipe": 1,
"idFood": 1,
"quantity": 100
},
{
"id": 2,
"idRecipe": 1,
"idFood": 2,
"quantity": 100
},
{
"id": 3,
"idRecipe": 1,
"idFood": 3,
"quantity": 100
},
{
"id": 4,
"idRecipe": 1,
"idFood": 1,
"quantity": 100
},
{
"id": 5,
"idRecipe": 2,
"idFood": 2,
"quantity": 100
},
{
"id": 6,
"idRecipe": 2,
"idFood": 3,
"quantity": 100
}
],
"rrecipes": [
{
"id": 1,
"title": "PAIN",
"content": "melanger du coeur dsfg kklsdf mmsdfk dkkf je suis malade mais je ne pensse pas que ca viens de la parce que j aime les legumes pas toi ? je pensse c est une evidance, j'ai toruver ma voie",
"preparationTime": 10,
"creationDate": "10-11-1999",
"nbPeople": 5,
"note": 1.5,
"pseudo": "Lucas",
"calorie": 10,
"ffoods":[
{
"id": 1,
"name": "Farine blanche",
"measure": "gramme",
"quantity": 200
},
{
"id": 2,
"name": "Levure boulangère",
"measure": "sachet",
"quantity": 2
}
]
},
{
"id": 2,
"title": "TAJINE",
"content": "melanger du coeur dsfg kklsdf mmsdfk dkkf je suis malade mais je ne pensse pas que ca viens de la parce que j aime les legumes pas toi ? je pensse c est une evidance, j'ai toruver ma voie",
"preparationTime": 10,
"creationDate": "10-11-1999",
"nbPeople": 5,
"note": 4,
"pseudo": "Claude",
"calorie": 20,
"ffoods":[
{
"id": 1,
"name": "Poulet",
"measure": "gramme",
"quantity": 2000
},
{
"id": 2,
"name": "Harivot",
"measure": "gramme",
"quantity": 250
},
{
"id": 3,
"name": "Pattates",
"measure": "gramme",
"quantity": 50
}
]
}
]
}