Sample State - acrks/rillow GitHub Wiki

{
entities: {
  users: {
    1: {
      id: 1,
      username: 'RillowAlex',
      email: '[email protected]',
      },
    2: {
      id: 2,
      username: 'RillowSpencer',
      email: '[email protected]',
      }
  },
  listings: {
    1: {
      id: 1,
      creator: 1,
      purchase: true,
      price: 500000,
      numBeds: 2,
      numBaths: 2.0,
      streetNum: 825,
      streetName: 'Battery St.',
      city: 'San Francisco',
      state: 'California',
      zipcode: 94111
    },
    2: {
      id: 2,
      creator: 1,
      purchase: false,
      price: 5000,
      numBeds: 6,
      numBaths: 5.5,
      streetNum: 90,
      streetName: '5th Avenue',
      city: 'New York',
      state: 'New York',
      zipcode: 10011
    }
  },
  favList: {
    1: {
      id: 1,
      listingId: 2,
      favoriterId: 2
    }
  },
  tours: {
    1: {
        id: 1,
        touristId: 2,
        agentId: 1,
        tourTime: December 15, 2021, 08:00:00
    }
  }
},
  ui: {
    loading: true/false,
    modal: true/false
  },
  errors: {
    userForm: ["Username cannot be blank", "Password cannot be blank", "Email cannot be blank"],
    login: ["Incorrect username/password combination"],
    listingForm: ["Number of bedrooms cannot be 0", "Number of baths cannot be 0", "Zipcode cannot be blank", "Street name cannot be blank", "Street number cannot be blank", "City cannot be blank", "State cannot be blank"],
    tourForm: ["Date/Time cannot be blank"]
    
  },
  session: { currentUserId: 4 }
}