Sample State - xiaoyuny/Airquq GitHub Wiki

{
  entities: {
    users: {
      1: {
        id: 1,
        username: 'user001',
        firstName: 'Alice',
        lastName: 'Yang',
        email: '[email protected]'        
      },
      2: {
        id: 2,
        username: 'user002',
        firstName: 'Rika',
        lastName: 'Sun',
        email: '[email protected]'    
      }
    },
    listings: {
      1: {
        id: 1,
        name: 'Unique Cob Cottage',
        description: 'Welcoming and cozy retreat!',
        price: 109,
        bedNum: 1,
        roomNum: 1,
        bathNum: 1,
        airConditioning: true, 
        heating: true,
        essentials: true,
        wifi: true,
        tv: true,
        washer: false,
        kitchen: false,
        freeParking: true,
        hairDryer: true,
        shampoo: false,
        address: '1 cob ln',
        city: 'Mayne Island',
        state: 'British Columbia',
        country: 'Canada',
        zipcode: '70000',
        lat: 48.8380,
        lng: 123.2877,
        hostId: 2,
        imgUrl: "pic1.jpg"
      }
    },
    bookings: {
      1: {
        id: 1,
        listingId: 1,
        guestId: 1,
        checkinDate: 2018-08-02,
        checkoutDate: 2018-08-04,
      }
    },
    reviews: {
      1: {
        id: 1,
        authorId: 1,
        listingId: 1,
        body: 'We enjoyed our stay!',
        accuracy: 5,
        location: 4,
        communication: 5,
        checkIn: 5,
        cleanliness: 5,
        value: 4,
      }
    },
    message: {
      1: {
        id: 1,
        senderId: 2,
        receiverId: 1,
        body: 'hi!'
      }
    }
  },
  ui: {
    modal: {"login"},
    filters: {"bounds"}
  },
  errors: {
    login: ["Incorrect username/password combination"],
    bookingform: ["Please select a check-out date"],
  },
  session: { currentUserId: 1 }
}