Sample State - brjohn/Friendbook GitHub Wiki

{
  entities: {
    friends: {
      1: {
        id: 1,
        userId: 1,
        friendId: 2,
      },
      2: {
        id: 2,
        userId: 1,
        friendId: 3,
      },
    },
    users: {
      1: {
        id: 1,
        firstName: "Ginger", 
        lastName: "Spice",   
        birthday: 12.25.1990, 
        gender: "female", 
        email: "[email protected]", 
        bio: "Best Spice", 
        work: "pop icon", 
        education: "Oxford University", 
        currentCity: "London", 
        hometown: "London", 
        relationship: "single", 
        namePronunciation: "djindja",    
      },
      2: {
        id: 2,
        firstName: "Baby", 
        lastName: "Spice",   
        birthday: 12.25.1991, 
        gender: "female", 
        email: "[email protected]",       
      }
      3: {
        id: 3,
        firstName: "Posh", 
        lastName: "Spice",   
        birthday: 06.25.1991, 
        gender: "female", 
        email: "[email protected]",       
      }
    },
    requests: {
      1: {
        id: 1,
        requesterId: 1,
        friendRequestedId: 2,
      },
      2: {
        id: 2,
        requesterId: 1,
        friendRequestedId: 3,
      },
    posts: {
      1: {
        id: 1,
        posterId: 2,
        wallOwnerId: 2,
        body: "2021 reunion tour!",
      },
    },
    comments: {
      1: {
        id: 1,
        commenterId: 3,
        postId: 1,
        body: "plus, we're making SpiceWorld II!!!"
      },
    },
  },
  ui: {
    modal: true/false
  },
  errors: {
    session: ["Incorrect username/password combination"],
    
  },
  session: { currentUserId: 1 }
}