Skip to content

Instantly share code, notes, and snippets.

@devshorts
Last active March 3, 2020 20:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devshorts/baeceb92da2c28487397c383868e6b40 to your computer and use it in GitHub Desktop.
Save devshorts/baeceb92da2c28487397c383868e6b40 to your computer and use it in GitHub Desktop.
const accountResponse = {
balance: 25.3,
name: 'My checking account',
};
const transactions = [
{
amount: -10.2,
date: 1583266558054,
category: 'food',
},
{
amount: -10.41,
date: 1583267595958,
category: 'bills',
},
{
amount: -24.0,
date: 1583266558054,
category: 'food',
},
{
amount: -40.13,
date: 1583267695958,
category: 'bills',
},
{
amount: -2.98,
date: 1583267695958,
category: 'other',
},
{
amount: -14.3,
date: 1583267495958,
category: 'other',
},
{
amount: -19.0,
date: 1583267496958,
category: 'food',
},
{
amount: -19.0,
date: 1583157705958,
category: 'entertainment',
},
{
amount: -14.0,
date: 1583266558054,
category: 'entertainment',
},
{
amount: -1.0,
date: 1583266558054,
category: 'entertainment',
},
{
amount: 219.0,
date: 1583266558054,
category: 'direct deposit',
},
{
amount: 390.0,
date: 1583157705958,
category: 'direct deposit',
},
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment