Sample State - ladymicaela/trello-clone GitHub Wiki

{
  entities: {
    boards: {
      1: {
        id: 1,
        title: "FSP",
        creatorId: 9
      },
      2: {
        id: 2,
        title: "MERN Stack",
        creatorId: 25
      },
      3: {
        id: 3,
        title: "JavaScript Project",
        creatorId: 11
      }
    },
    members: {
      9: {
        id: 9,
        username: "lady_micaela"
      },
      25: {
        id: 25,
        username: "brighteyes"
      }
    },
    lists: {
      7: {
        id: 7,
        title: "Things to Do",
        boardId: 1
      },
      15: {
        id: 15,
        title: "Doing",
        boardId: 1
      },
       8: {
        id: 8,
        title: "Done",
        boardId: 1
      }
    },
    cards: {
      2: {
        id: 2,
        title: "make sample state",
        listId: 15,
        description: "",
        dueDate: "01-02-20"
      },
      14: {
        id: 14,
        title: "make schema",
        listId: 8,
        description: "write out db tables, columns, and constraints",
        dueDate: ""
      }
    },
    comments: {
      1: {
        id: 1,
        authorId: 25,
        body: "once sample state is done, make sure to check in with project advisor"
      },
      5: {
        id: 5,
        authorId: 9,
        body: "note to self: card due dates are optional"
      },
       7: {
        id: 7,
        authorId: 9,
        body: "note to self: card descriptions are optional"
      }
    },
    boardMemberships: {
      10: {
        boardId: 1,
        memberId: 9,
      },
      11: {
        boardId: 2,
        memberId: 9,
      },
      12: {
        boardId: 3,
        memberId: 9,
      },
    }
  },
  ui: {
    loading: true/false,
    modal://defaults to null, will be set to a string representing which component to show
  }
  },
  errors: {
    session: ["Incorrect username/password combination"],
    boardErrors: ["Board title cannot be blank"],
    cardErrors: ["Card title cannot be blank"],
    listErrors: ["List title cannot be blank"],
    commentErrors: ["Comment body cannot be blank"]
  },
  session: { currentUserId: 9 }
}