From 16f3a8adf76c1c90eb9ac99885544ca4390f876f Mon Sep 17 00:00:00 2001 From: mohamedhalemramadan <165049301+mohamedhalemramadan@users.noreply.github.com> Date: Wed, 17 Jul 2024 18:37:36 +0300 Subject: [PATCH] Update db.json --- db.json | 94 +++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 81 insertions(+), 13 deletions(-) diff --git a/db.json b/db.json index 7e0d3c0a92..190aa04073 100644 --- a/db.json +++ b/db.json @@ -1,14 +1,82 @@ { - "posts": [ - { "id": 1, "title": "Post 1" }, - { "id": 2, "title": "Post 2" }, - { "id": 3, "title": "Post 3" } - ], - "comments": [ - { "id": 1, "body": "some comment", "postId": 1 }, - { "id": 2, "body": "some comment", "postId": 1 } - ], - "profile": { - "name": "typicode" - } -} + "customers": [ + { + "id": 1, + "name": "Ahmed Ali" + }, + { + "id": 2, + "name": "Aya Elsayed" + }, + + { + "id": 3, + "name": "Mina Adel" + }, + { + "id": 4, + "name": "Sarah Reda" + }, + { + "id": 5, + "name": "Mohamed Sayed" + } + ], + "transactions": [ + { + "id": 1, + "customer_id": 1, + "date": "2022-01-01", + "amount": 1000 + }, + { + "id": 2, + "customer_id": 1, + "date": "2022-01-02", + "amount": 2000 + }, + { + "id": 3, + "customer_id": 2, + "date": "2022-01-01", + "amount": 550 + }, + { + "id": 4, + "customer_id": 3, + "date": "2022-01-01", + "amount": 500 + }, + { + "id": 5, + + "customer_id": 2, + "date": "2022-01-02", + "amount": 1300 + }, + { + "id": 6, + "customer_id": 4, + "date": "2022-01-01", + "amount": 750 + }, + { + "id": 7, + "customer_id": 3, + "date": "2022-01-02", + "amount": 1250 + }, + { + "id": 8, + "customer_id": 5, + "date": "2022-01-01", + "amount": 2500 + }, + { + "id": 9, + "customer_id": 5, + "date": "2022-01-02", + "amount": 875 + } + ] + }