jackieiscool / Sinatra-Movie-App-Part-Deux-Mini-Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

##Sinatra Movie App, Part Deux

This mini-project will help you with:

  • Building a basic Sinatra app that has: views, layouts, and RESTful routes
  • Heightening your CSS skills
  • Reninforcing the importance of building apps in a RESTful manner
  • Getting into a state of play!

Phase 1: Take all the HTML strings out of your existing lab and move them into the views.

Tips:
  - There should be 3 erb files, plus a layout erb file (layout, index, show, search)
  - The results erb should take an array in which you can iterate through & display results

Phase 2: On the poster display page, add more movie information. The poster page should contain the "Plot", "Released Year", "Rated", "Runtime", "Genre", "Director", and "Actors". (Optional: Add a link to the actual IMDB page).

Phase 3: Add your own tests for the app in the spec/movies_spec.rb file. Look at this lab as a reference on how to write rspec tests with sinatra. Try to write at least 3 tests.

Phase 4: Style it up like crazy with the CSS. Feel free to use Bootstrap.

Center the poster and text on the poster page in the middle of the screen. Also add a border around the poster. Then do anything else you'd like to make the page interesting.

Phase 5: Make your app mobile first. Delmer's lecture on Friday will help with this.

About