Skip to content

Viewing party is an application in which users can explore movie options and create viewing party events with their friends.

Notifications You must be signed in to change notification settings

ckccameron/viewing_party

 
 

Repository files navigation

Viewing party is an application created by Angela Guardia & Cam Chery, as part of the Turing School of Software and Design Backend curriculum. It was completed over a period of 10 days.

Table of Contents

  1. CI & Deployment
  2. About This Project
  3. Learning Achievements
  4. Local Setup
  5. Schema Design
  6. Testing
  7. Contributors
  8. Resources

CI & Deployment

Builds are run by Travis CI: Build Status

The deployment for our application in production is handled by Heroku and can be accessed here:

Viewing Party

If you'd like to get the full experience you can use this account that already has friends and viewing parties added:

email: [email protected]

password: 1234

About This Project

Viewing party is a web application that allows the user to explore movies and create events to watch them with friends. Users can register with their name, email, and password, and are automatically logged into the application. Returning users can also login. Once they are authenticated, users can discover movies by top 40 rated movies, or they can search by movie title and get the top matching results. Movie pages show movie information as well as a poster and trailer. All movie data is obtianed by TheMovieDB API.

Users can add friends through their email addresses. Users can then create viewing parties by picking a movie, a date, and adding friends. On the user dashboard users can view all of the parties that they are either hosting or been invited to.

Learning Achievements

  • Consume JSON APIs that require authentication
  • Implement basic authentication
  • Implement a self-referential relationship in ActiveRecord
  • Apply RuboCop’s style guide for code quality
  • Utilize Continuous Integration using Travis CI and deploy to production using Heroku

Local Setup

  1. Fork and Clone the repo
  2. Install gem packages: bundle install
  3. Setup the database: rails db:{create,migrate}
  4. Install Figaro gem to gain access to your local application.yml file: bundle exec figaro install
  5. Add your API key to application.yml file: must be in format of TMDB_API_KEY: "<your API key>"

Versions

  • Ruby 2.5.3
  • Rails 5.2.4.3

Schema Design

Screen Shot 2020-10-15 at 8 08 56 AM

Testing

We used RSpec with the help of Capybara, Shoulda-matchers, FactoryBot, Webmock, and VCR to implement thorough and efficient tests that resulted in full test coverage:

Screen Shot 2020-10-14 at 7 50 07 PM

Contributors

Angela Guardia

Cam Chery

Resources

About

Viewing party is an application in which users can explore movie options and create viewing party events with their friends.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 48.5%
  • JavaScript 35.2%
  • SCSS 9.4%
  • Ruby 5.9%
  • HTML 1.0%