Skip to content

Starter repo for a backend module 3 project.

Notifications You must be signed in to change notification settings

GeorgieGirl24/viewing_party

 
 

Repository files navigation

Our Viewing Party

Build Status

This web application allows a user to view movie titles and schedule viewing parties with their friends.

Table of Contents

What it does

This App allows a visitor to register or login search the MovieDB using keywords or viewing the top 40 movies. A user can click on a specific title to see more details about the film and have the option to create a viewing party. On the viewing party page, they can schedule a duration, date, and time for the event, and also invite their friends (if they are registered users of the site). Once a party is scheduled, the event is added to the user's dashboard as well as their invited friends' dashboards.

Try it out here!

For exploration, use below credentials:

login: [email protected]
password: Test1234!

How to install

To install and run this application locally:

  1. To setup the repository locally, from your command line:
$git clone [email protected]:dunlapww/viewing_party.git
$bundle
$rails db:{create,migrate,seed}
  1. To run it on your local server type 'rails s' into the command line:
$rails s
  1. Open your web browser and navigate to http://localhost:3000/

You should now see the welcome page for the application! https://developers.themoviedb.org/

Testing

This application uses the below test suite:

gem 'rspec-rails'
gem 'capybara'
gem 'launchy'
gem 'simplecov'
gem 'shoulda-matchers'
gem 'nyan-cat-formatter'
gem 'vcr'
gem 'webmock'

Both features and models should be tested

Feature Tests

Ensure the functionality of a component of the user experience. Every aspect of functionality should have a test built for it.

As an example, The below feature test ensures a user can successfully login

Model Tests

Ensures the backend database and classes work properly

As an example, the below test ensures that the User table has the proper validations and relationships, and ensures our validations are working properly:

Example Usage

Welcome:

When you first visit, the user is greeted with the login page where they can either login or register as a new user.

Dashboard

  • The user can invite some friends who are also users by typing their email and clicking 'Add Friend'
  • Alternatively, they can begin perusing movie titles by clicking 'Discover Movies'

#### Discover * From the discover page the user has the option to view the top 40 movies or to perform a keyword search for movie titles.

Results

  • Searching by either option will send the user to the results page where they will see a list of movies. They can click on any title to see more details about the movie.

Movie Details

  • On the movie Details page they are given the option to schedule a viewing party. Clicking 'Create Viewing Party' allows them to scheduling a viewing party

Scheduling a Viewing Party

  • To schedule a viewing party, a user must select a party duration, date, time, and select some friends to invite. In this case we'll invite only a selection of our friends. Clicking 'Create Viewing Party' schedules the event and returns the user to their dashboard.

Dashboard with parties

  • Now the party has been scheduled, the party appears on both the user's dashboard and their invited friends' dashboard. The user now has the option to schedule more parties or to logout.
User Dashboard Friend Dashboard

Licenses

This application was created

  • using the MovieDB
  • Ruby 2.5.3
  • Rspec

Project Leads

  • George Soderholm
  • Kate Tester
  • Will Dunlap

Acknowledgements

These are the resources and people that helped us along the way!

About

Starter repo for a backend module 3 project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 84.4%
  • HTML 12.3%
  • CSS 2.3%
  • JavaScript 1.0%