Skip to content

Commit

Permalink
feat: json files with api generated data
Browse files Browse the repository at this point in the history
  • Loading branch information
vianabsouza committed Jul 26, 2024
1 parent 39ad96a commit 9979c28
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/accounts/accounts.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,15 @@
"id": 1,
"name": "BrasilBank",
"balance": 300
},
{
"id": 2,
"name": "SPBank",
"balance": 600
},
{
"id": 4,
"name": "SCBank",
"balance": 500
}
]
24 changes: 23 additions & 1 deletion src/transactions/transactions.json
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
[]
[
{
"id": 1,
"accountId": 2,
"amount": 10,
"type": "CREDIT",
"date": "2024-07-26T18:41:18.998Z"
},
{
"id": 2,
"accountId": 2,
"amount": 30,
"type": "DEBIT",
"date": "2024-07-26T18:42:45.917Z"
},
{
"id": 3,
"accountId": 2,
"amount": 40,
"type": "DEBIT",
"date": "2024-07-26T18:42:51.178Z"
}
]

0 comments on commit 9979c28

Please sign in to comment.