sample state - nooccarr/perfect-pixel GitHub Wiki

{
  entities: {
    photos: {
      1: {
        id: 1,
        title: "Foggy day",
        photographerId: 11,
        likerIds: [2, 14],
        comments: [4, 5, 6],
        imageUrl: "https://500px.com/photo/1010185004/Foggy-day-by-Claudio-Piccoli",
      },
      2: {
        id: 2,
        title: "Those eyes",
        photographerId: 25,
        likerIds: [1, 3],
        comments: [1],
        imageUrl: "https://500px.com/photo/1010103221/Those-eyes-by-Susanne--Arousell",
      },
      3: {
        id: 3,
        title: "Keep walking",
        photographerId: 11,
        likerIds: [55, 60],
        comments: [2, 3],
        imageUrl: "https://500px.com/photo/102449413/keep-walking-by-Eo-NaYa",
      }
    },
    users: {
      11: {
        id: 11,
        username: "peter_stewart",
        photoIds: [1, 3],        
        commentIds: [10],
      },
      25: {
        id: 25,
        username: "photo_of_future",
        photoIds: [2],
        commentIds: [2, 4]
        profileUrl: "https://cdn.pixabay.com/photo/2015/10/01/16/43/toucan-967334_960_720.jpg",
      }
    },
    comments: {
      22: {
        id: 22,
        photoId: 3,
        comment: "Splendid landscape",   
        parentCommentId: 10
        profileUrl: "https://cdn.pixabay.com/photo/2015/10/01/16/43/toucan-967334_960_720.jpg",
      },
      23: {
        id: 23,
        photoId: 14,
        comment: "Great perspective and beautiful warm light!",
        parentCommentId: nil,
      }
    },
    likes: {
      10: {
        id: 10,
        likerId: 11,
        photoId: 1,
      },
      11: {
        id: 11,
        likerId: 25,
        photoId: 1,
      },
      12: {
        id: 12,
        likerId: 25,
        photoId: 3,
      },
    },
    follows: {
        3: {
            id: 3,
            followingId: 15,
            followerId: [5,10,25],
        },
        4: {
            id: 4,
            followingId: 27,
            followerId: [1,2],
        },
    }
  },
  ui: {
    loading: true/false
  },
  errors: {
    login: ["Password must be longer than 6 characters"],
    commentForm: ["Comment cannot be blank"],
  },
  session: { currentUserId: 25 }
}