Sample State - RoosterUnchained/winterest GitHub Wiki

  entities: {
    books: {
     1: {
       id: 1,
       title: "madness and mayhem in the game of kings: aggressive openings",
       description: "aggressive openings",
       authorId: 11
      }
    },
    moves: {
      1: {
        id: 1,
	img-url: www.imgur.com/slav_defense,
        caption: "famous opening, the slav defense",
        description: "famous opening, the slav defense",
        authorId: 11,
      },
      2: {
        id: 2,
	   img-url: www.imgur.com/kings_gambit,
        caption: "famous opening, the king's gambit",
        description: "famous opening, the king's gambit",
        authorId: 11,
      },
      3: {
        id: 3,
	   img-url: www.imgur.com/torre_attack,
        caption: "famous opening, the torre attack",
        body: "famous opening, the torre attack",
        authorId: 11,
      }
    },
    users: {
      11: {
        id: 11,
        username: "dark_knight_killer",
        imgUrl: "https://imgur.com/gallery/yXLMaZa"
      },
      25: {
        id: 25,
        username: "pawnage",
        imgUrl: "https://cdn.pixabay.com/photo/2015/10/01/16/43/toucan-967334_960_720.jpg"
      }
    },
    notes: {
        id: 6,
        parentId: 1,
        authorId: 25,
        comment: "I've only recently started studying openings, it's been a big 
                  setback in reaching consistent, higher levels of play, I feel"
    },
    studies: {
      10: {
        bookId: 11,
        moveId: 1,
      },
      11: {
        bookId: 25,
        moveId: 1,
      },
      12: {
        bookId: 25,
        moveId: 3,
      },
    }
    reads: {
        id: 4,
        student_id: 25,
        teacher_id: 11
    }
  },
 
  ui: {
    loading: true/false
  },
  errors: {
    login: ["Incorrect username/password combination"],
    moveForm: ["Move img_url cannot be blank"],
  },
  session: { currentUserId: 25 }
}