Sample State - Heyitswilson/Toasty-fullstack GitHub Wiki

{
  entities: {
    users: {
      1: {
        id: 1,
        name: "Wilson",
        email: "[email protected]"
        },
      2: {
        id: 2,
        name: "Dorris",
        email: "[email protected]"
        },
      3: {
        id: 3,
        name: "Sasha",
        email: "[email protected]"
        },
      4: {
        id: 4,
        name: "Sam",
        email: "[email protected]"
        },
      5: {
        id: 5,
        name: "Ryan",
        email: "[email protected]"
        }
      },
    products: {
      1: {
        id: 1,
        name: "Magikarp hat",
        description: "Magikarp hat to keep your head               
          warm!",
        price: 45.00,
        artistId: 2
        },
      2: {
        id: 2,
        name: "Wood mountain shelf",
        description: "Cute mountain shelf!",
        price: 70.49,
        artistId: 3
        } 
      },
    reviews: {
      1: {
        id: 1,
        review: "Great quality, my friend loves it!",
        rating: 5,
        authorId: 5,
        productId: 1
        },
      2: {
        id: 2,
        review: "Looks amazing, shipped on time!",
        rating: 5,
        authorId: 5,
        productId: 2
        }
      },
    carts: {
      1: {
        id: 1,
        customerId: 1,
        }
      },
    cart_items: {
      1: {
        id: 1,
        productId: 1,
        cartId: 1
        },
      2: {
        id: 2,
        productId: 2,
        cartId: 1
        }
      }
    },
  ui: {
    loading: true/false
    },
  errors: {
    login: ["Incorrect email/password combination"],
    productForm: ["Name/description/price cannot be   
      blank"],
    reviewForm: ["Review/rating cannot be blank"]
    },
  session: { currentUserId: 1 }
}