-
Notifications
You must be signed in to change notification settings - Fork 0
Sample State
Jonathan Calixto edited this page Sep 18, 2020
·
1 revision
entities: {
users: {
1: {
id: 1,
username: "nathan0922",
email: "[email protected]",
photos: [1, 2, 6, 8],
followerIds: [5, 10],
likedPhotoIds: [16, 21],
commentIds: [209, 677, 989],
galleryIds: [5, 6]
},
2: {
id: 2,
username: "the_one_and_only",
email: "[email protected]",
photos: [8, 12, 22],
followerIds: [8, 10],
likedPhotoIds: [5, 22],
commentIds: [],
galleryIds: []
},
3: {
id: 3,
username: "BobbyNoName22",
email: "[email protected]",
photos: [],
followerIds: [],
likedPhotoIds: [],
commentIds: [],
galleryIds: []
}
},
photos: {
1: {
id: 1,
title: "Fire and Ice",
description: "An active volcano erupting in the middle of the Antartic Ocean",
location: "Antartica",
categoryIds: [2, 22, 44],
photographerId: 4,
likerIds: [16, 21],
commentIds: [2, 8, 22, 89]
},
2: {
id: 2,
title: "Jane and Jeffrey",
description: "A beautiful couple, a beautiful marriage",
category: [1, 5, 6],
location: "New York City",
photographerId: 2,
likerIds: [12, 22],
commentIds: [33, 36, 39, 55, 62]
},
},
comments: {
1: {
id: 1,
body: "Amazing photos, I hope I can be as good as you!"
photo_id: 8,
commenterId: 4
},
2: {
id: 2,
body: "Very inspirational, much wow!"
photoId: 10,
commenterId: 13
}
}
}