8000 GitHub - matt-kragen/viewing_party: Starter repo for a backend module 3 project.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

matt-kragen/viewing_party

 
 

Repository files navigation

Viewing Party

Table of Contents

Overview

Viewing Party is a 10-day, paired project during Turing School of Software and Design's Back-End Engineering program in Module 3. The goal was to create a Rails application that consumes APIs, where users can explore movie options and create a viewing party event for the user and friends. The database utilizes a self-referential relationship to allow users to have friends, similar to follower functionality on Twitter.

This application is built off of the base repo for the viewing party project used for Turing's Backend Module 3.

Features

  • A user can register for the site and log in and out using our basic authentication/authorization functions.
    • These functions include authorization to view certain pages of the site only when logged in.
  • Using the Discover page, users can select from the Top 40 movies according to TheMovieDB API.
  • From the movie's show page, a user can create a viewing party with any friends they have added through their dashboard.
  • On the dashboard, a user can view their list of friends as well as any viewing parties they are hosting.
    • Viewing Parties in this section list their attendees.

Learning Goals

The learning goals for this project centered around API consumption, manipulation of JSON responses, and basic authentication & authorization.

It was necessary to implement a self-referential relationship in the User model to allow for Friendships to be formed between users.

We were challenged to manipulate API response data without storing movie info inside of our own database.

Example wireframes here

Local Setup

  1. Fork this repository
  2. Clone repo: Run git clone .
  3. Change into application's directory: cd viewing_party
  4. Install gem packages: Run bundle install
  5. Setup the database: rails db:{create, migrate, seed}

Database Schema

Screen-Shot-2021-09-01-at-5-04-10-PM.png

Tools Used

Development Testing Gems
Ruby 2.7.2 RSpec Pry
Rails 5.2.5 WebMock ShouldaMatchers
HTML5 VCR Capybara
CSS3 Launchy Figaro
VSCode SimpleCov BCrypt
Atom Capybara
Github

Contributors

👤 Caroline Tan

👤 Matt Kragen

About

Starter repo for a backend module 3 project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 77.4%
  • HTML 18.5%
  • CSS 2.5%
  • JavaScript 1.6%
0