W7D5 - BenchBnB
Topics
Putting it all together!
Following a project timeline & meeting deadlines
Reading outside technical documents
Learning about new packages, modules, and etc. on your own and incorporating them into your project
Google Maps API
Final Project - I'm building Facebook!!! <3
React & Rails
Projects
BenchBnB - inspired by AirBnB
Locations for the best benches
Solo day
Learnings
require('flux').Dispatcher - make sure to capitalize "Dispatcher"
database.yml - if you accidentally create Rails app using sqlite3, to change it to using postgresql, make the following changes
database: benchbnb_dev - add to both default & development in database.yml
adapter: postgresql
Gemfile: gem 'pg' (remove gem 'sqlite3'
"Uninitialized Constant 'API'" - means you need to nest controllers/benches_controller.rb under "api" as controllers/api/benches_controller.rb
"superclass mismatch for class BenchesController" or "missing Api::BenchesController" - make sure to name Controller "Api::BenchesController" and not just "BenchesController" in benches_controller.rb file












