{
entities: {
projects: {
3: {
id: 3,
title: "magnetic bottle opener",
body: "how to create a bottle opener that is magnetic, with pictures",
steps: [12, 13, 14],
pictures: [step1.img_url, step2.img_url, step3.img_url],
author_id: 4,
favorites/ follows: 1490,
comment_ids: [1],
// current_user_followed allows us to know whether to delete a favorite for a project
current_user_favorited: false
},
6: {
id: 6,
title: "coffee mixer",
body: making a small but powerful coffee mixer",
steps: [18, 19, 20, 22],
pictures: [step1.img_url, step2.img_url, step3.img_url, step4.img_url],
author_id: 7,
favorites/ follows: 14,
comment_ids: [13, 18],
// current_user_followed allows us to know whether to delete a favorite for a project
current_user_favorited: true
},
8: {
id: 8,
title: "laptop halogram",
body: "making a hologram for medium sized screens, laptops and small desktop screens",
steps: [27, 28, 29, 30, 31, 32],
pictures: [step1.img_url, step2.img_url, step3.img_url, step4.img_url, step5.img_url, step6.img_url],
author_id: 6,
favorites/ follows: 643,
comment_ids: [22],
// current_user_followed allows us to know whether to delete a favorite for a project
current_user_favorited: false
},
},
comments: {
1: {
id: 1,
body: "Can't wait to make one and use it!",
author_id: 11,
project_id: 3
},
13: {
id: 13,
body: "I need more coffee!!",
author_id: 25,
project_id: 6
},
18: {
id: 18,
body: "This would soooo make brewing coffee way easier",
author_id: 22,
project_id: 6
},
22: {
id: 22,
body: "I don't even understand how you can come up with that",
author_id: 7,
project_id: 8
},
},
users: {
4: {
id: ,
username: "3Dnicholas",
email: [email protected]
}
8: {
id: 8,
username: "woodskillz",
email: [email protected]
}
}
},
ui: {
loading: true/false,
//which picture is viewed on this current show page:
picture_url: step1.img_url
},
errors: {
show: ["already following this project"],
},
session: {
currentUser: {
id: 7,
username: "mberman"
}
}
}