Successfully reported this slideshow.
Your SlideShare is downloading. ×

Module One Guided Project - Flatiron School

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad

Check these out next

1 of 7 Ad

More Related Content

Similar to Module One Guided Project - Flatiron School (20)

Recently uploaded (20)

Advertisement

Module One Guided Project - Flatiron School

  1. 1. Flatiron BnB Jerry Lee & Max Goodman
  2. 2. Creating the Domain Model
  3. 3. Getting the Data : Listings Stevies Unofficial Airbnb API - Listings Used a proxy worker to gather seed data - over 200 listings - 3 cities (NYC, DC, LA) JSON data returned from HTTPS request
  4. 4. Creating Associations
  5. 5. Demo Time!
  6. 6. Wrap Up ○ Describe something you struggled to build, and show us how you ultimately implemented it in your code. a. Persistence of the data for reservations: instance calls vs SQL calls ○ Discuss 3 things you learned in the process of working on this project. a. Working remotely with Git/GitHub can be difficult (merge conflicts) b. How to gather external seed data from an API c. How to create a domain model for Airbnb-like platform d. Bonus: How to write a README.md ○ Address, if anything, what you would change or add to what you have today? a. Make the UI a bit more flexible for the user input. b. Gather more data for more cities
  7. 7. Thank You!

Editor's Notes

  • Users have many queries, query has one user. User has_many :listings, through: :reservations, has_many :reservations. Reservations belong to a listing and a user. Listings has_many :users, through: :reservations, has_many :reservations.

×