Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

bfeldman/mod1_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movie collection app

An app that lets users catalog movies in their collection, or that they want to see, or whatever they want.

Created by Brian Feldman and Arthur Wilton

Prerequisites

In order to use the poster and trailer(beta) features you will need to install ImageMagick Version 7, FFmpeg compiled with the libcaca library, and youtube-dl.

ImageMagick Installation

brew instal imagemagick

FFmpeg

brew tap homebrew-ffmpeg/ffmpeg
brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-libcaca

youtube-dl

brew install youtube-dl

Installation

Install required gems via

bundle install

Acknowledgments

To get the movie data were are utilizing:

OMDb API - http://www.omdbapi.com/

TMDb API - https://www.themoviedb.org/documentation/api

"This product uses the TMDb API but is not endorsed or certified by TMDb."

We are also using the following gems:

ttytoolkit - https://ttytoolkit.org/

catpix - https://www.rubydoc.info/github/pazdera/catpix/

rmagick - https://github.com/rmagick/rmagick

launchy - https://github.com/copiousfreetime/launchy


User Stories:

  • Users can see a list of all of their movies
  • Users have the ability to add and delete movies from their lists
  • Users are able to check the metadata of movies
  • Users can also see other users who have the same movie in their collections
  • A user can find the three highest-rated movies in their collection
  • A user can change their list's name

Models, Associations, & Attributes:

The app has four models: User, List, Movie, and ListMovie

  • A User has one List
  • A List has many Movies through ListMovie
  • A Movie belongs to many Lists
  • A User has many Movies through its List
  • A Movie belongs to many Users ​

User

  • username: string
  • password: string
  • first_name: string
  • last_name: string ​

List

  • user_id: integer
  • list_name: string

Movie

  • title: string
  • cast: string
  • plot: string
  • year: integer
  • metascore: integer
  • imdb_id: string
  • director: string
  • poster: string

ListMovie

  • list_id: integer
  • movie_id: integer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages