Skip to content

nrsantamaria/six-degrees

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Six Degrees

By Nicole Santamaria, James Higgins, Nick Powell, Jason Ainsworth

Description

This app will use a ActiveRecord to track movies and actors through a many-to-many relationship. Users will be able to see the relationship between two actors.

Technologies Used

  • HTML
  • CSS
  • JavaScript
  • Jquery
  • Bootstrap
  • Postgres
  • psql
  • Ruby
  • Sinatra
  • API from IMDB

Specifications:

Behavior Input Output
goes to homepage user visits homepage and sees two forms to add two different actors names
submit two forms to see the degree the user inputs two actors user sees the separation between the two inputted actors
clicks on individual movie user goes to the movie page user sees the cast of the movie
user clicks on the individual actor link user taken to actor page user can see all movies the actor has been in

Installation

  • $ git clone https://github.com/nrsantamaria/six-degrees.git
  • $ cd six-degrees
  • $ bundle install
  • $ atom .

PostgreSQL Integration

$ postgres
$ rake db:create
$ rake db:migrate
$ rake db:test:prepare

Load Database

  • $ ruby app.rb
  • visit localhost:4567/load-db
  • refresh the page

Run the Program

$ ruby app.rb
  • Open your browser and enter localhost:4567 as the URL path.

Known Bugs

If autocomplete is not working, inspect element and click error message and it will display the actors name that is causing the error

  • Example Brad "Chip" Pope, Rodney "Bear" Jackson.
  • Find the actor by their id, and delete the actor from your database.

Support and contact details

Please contact Nicole Santamaria at NicoleRSantamaria@gmail.com if you have any questions.

License

This software is licensed under MIT license.

Copyright (c) 2017 Nicole Santamaria, James Higgins, Nick Powell, Jason Ainsworth

Screenshots

Home Page

Home page

Degrees Page

Degrees page

Movies Page

Movies page

Actors Page

Actors page

About

This app will allow users to view movies and actors in a database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published