Skip to content

Commit

Permalink
adds products
Browse files Browse the repository at this point in the history
  • Loading branch information
sara-rioseco committed Jul 26, 2023
1 parent a7980ea commit 6de64cb
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 0 deletions.
60 changes: 60 additions & 0 deletions db.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"id": 1,
"userId": 3,
"client": "Jude Milhon",
"table": 1,
"products": [
{
"qty": 1,
Expand Down Expand Up @@ -35,6 +36,7 @@
"id": 2,
"userId": 3,
"client": "Katie Bouman",
"table": 2,
"products": [
{
"qty": 2,
Expand Down Expand Up @@ -67,6 +69,7 @@
"id": 2,
"userId": 1,
"client": "Katie Bouman",
"table": 2,
"products": [
{
"qty": 2,
Expand Down Expand Up @@ -120,7 +123,64 @@
"image": "https://github.com/KarlaMacedo/DEV007-burger-queen-api-client/blob/feature-orders/src/assets/Images/agua.png?raw=true",
"type": "Almuerzo",
"dateEntry": "2022-03-05 15:14:10"
},
{
"id": 4,
"name": "Café con leche",
"price": 700,
"image": "https://github.com/KarlaMacedo/DEV007-burger-queen-api-client/blob/main/src/assets/Images/cafeLeche.png?raw=true",
"type": "Desayuno",
"dateEntry": "2022-03-05 15:14:10"
},
{
"id": 5,
"name": "Jugo de frutas natural",
"price": 700,
"image": "https://github.com/KarlaMacedo/DEV007-burger-queen-api-client/blob/main/src/assets/Images/jug.png?raw=true",
"type": "Desayuno",
"dateEntry": "2022-03-05 15:14:10"
},
{
"id": 6,
"name": "Hamburguesa simple",
"price": 1000,
"image": "https://github.com/KarlaMacedo/DEV007-burger-queen-api-client/blob/main/src/assets/Images/sencill.png?raw=true",
"type": "Almuerzo",
"dateEntry": "2022-03-05 15:14:10"
},
{
"id": 7,
"name": "Hamburguesa doble",
"price": 1500,
"image": "https://github.com/KarlaMacedo/DEV007-burger-queen-api-client/blob/main/src/assets/Images/dobl.png?raw=true",
"type": "Almuerzo",
"dateEntry": "2022-03-05 15:14:10"
},
{
"id": 8,
"name": "Papas fritas",
"price": 500,
"image": "https://github.com/KarlaMacedo/DEV007-burger-queen-api-client/blob/main/src/assets/Images/paps.png?raw=true",
"type": "Almuerzo",
"dateEntry": "2022-03-05 15:14:10"
},
{
"id": 9,
"name": "Aros de cebolla",
"price": 500,
"image": "https://github.com/KarlaMacedo/DEV007-burger-queen-api-client/blob/main/src/assets/Images/ceboll.png?raw=true",
"type": "Almuerzo",
"dateEntry": "2022-03-05 15:14:10"
},
{
"id": 10,
"name": "Bebida/refresco 500ml",
"price": 700,
"image": "https://github.com/KarlaMacedo/DEV007-burger-queen-api-client/blob/main/src/assets/Images/refr.png?raw=true",
"type": "Almuerzo",
"dateEntry": "2022-03-05 15:14:10"
}

],
"users": [
{
Expand Down
1 change: 1 addition & 0 deletions requests.http
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImdyYWNlL

{
"client": "Harry Potter",
"table": 1,
"products": [
{
"qty": 1,
Expand Down
Binary file removed resources/images/coffee.png
Binary file not shown.
Binary file removed resources/images/sandwich.png
Binary file not shown.
Binary file removed resources/images/water.png
Binary file not shown.

0 comments on commit 6de64cb

Please sign in to comment.