diff --git a/db.json b/db.json index 7e0d3c0a92..6c540d9c5f 100644 --- a/db.json +++ b/db.json @@ -1,14 +1,83 @@ + { - "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 } + "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" + } ], - "profile": { - "name": "typicode" + "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 + } + ] } -}