Skip to content

Instantly share code, notes, and snippets.

@dmitru
Created December 10, 2017 22:51
Show Gist options
  • Save dmitru/e07ec45ac26cece93213b6c32663a063 to your computer and use it in GitHub Desktop.
Save dmitru/e07ec45ac26cece93213b6c32663a063 to your computer and use it in GitHub Desktop.
Mocked data for course project for React Workshop
const EXAMPLE_TIME_ENTRIES = [
{
id: 1,
date: '2017-11-20',
categoryId: 1,
notes: 'some example notes',
minutesTracked: 180,
},
{
id: 2,
date: '2017-11-20',
categoryId: 3,
notes: null,
minutesTracked: 90,
},
{
id: 3,
date: '2017-11-21',
categoryId: 2,
notes: 'some more notes...',
minutesTracked: 120,
},
{
id: 4,
date: '2017-11-21',
categoryId: 2,
notes: 'it was amazing',
minutesTracked: 45,
},
{
id: 5,
date: '2017-11-21',
categoryId: 1,
notes: null,
minutesTracked: 30,
},
// ... add more if you feel like
]
const EXAMPLE_CATEGORIES = [
{
id: 1,
name: 'Feeding my cat',
},
{
id: 2,
name: 'Sleeping',
},
{
id: 3,
name: 'Learning React',
},
// ... add more if you feel like
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment