/viewing_party

Starter repo for a backend module 3 project.

Primary LanguageJavaScript

Viewing Party Circle CI Status


Our Devs:


Overview

Viewing Party deployed on

Watch movies with your friends! Register with this app, add your friends, find a movie, and then start a viewing party. The movie data is from The Movie Database.


Table of Contents


Using Deployed App

Registration

First, click on the 'Register' button

Registration Page

Then, fill in your email, username, and password.

User Information

Adding Friends

You'll be redirected to your dashboard page. From here you can click to discover movies, or add friends. First, let's add a friend.

Simply fill in your friend's email address in the provided line and click 'Add Friend'. They'll have to be registered on the app as well.

Once you do you'll see a flash message confirming that your friend was added!

Add Friend

Searching Movies

Let's search for a movie. When you click 'Discover Movies' you'll see 4 recommended movies, sorted by their rating.

Discover

If you'd like to search for a movie, just type in the title and hit 'search'. Let's try 'Titanic'

Search

We have 40 options! In case you meant a different one.

Maybe you've got movie ennui. Then let's just see what's rated best. From the discover page, click 'Top 40 Movies by Rating'

Top Rated

And we have a list of 40 movies sorted by their rating! Great.

Movie Details

Let's go back to that Discover page and click on 'Venom'. We see more details.

Movie Details

Create A Viewing Party

Let's click that 'Create Viewing Party' button!

Create Party

We have the option to set the date, time, and duration of the movie. And a little radio button to add our friends. We've only got the one, 'pop', so let's add them.

Once we click submit, we'll see all the viewing parties we're hosting or attending, and a list of the attendees.

View All Parties


Dependencies

This application uses:

  • Rails
  • PostgreSQL
  • TailwindCSS
  • TravisCI
  • Heroku
  • TMDB API
  • Figaro

Installation

If you would like install this app locally you'll need to do a few things:

  • Clone the code to your local machine git clone git@github.com:noahzinter/viewing_party.git
  • bundle install
  • rails db:{create,migrate}
  • bundle exec rails webpacker:install
  • yarn install
  • Get API key from The Movie Database
  • bundle exec figaro install and add you API key to the config/application.yml file (api_key: )

Once you have done all that run bundle exec rspec to make sure all tests are passing and you're on your way.


Database Schema

DB Schema

Our friends table uses a self referential relationship to better organize our data.