/viewing_party

Starter repo for a backend module 3 project.

Primary LanguageRuby

Viewing Party

   

Welcome Page

Viewing party is an application in which users can explore movie options and create a viewing party event for the user and friends. This was a 10 day project assigned by the Turing School of Software & Design Backend Engineering Program. If you'd like to see the live web app, check out our site on Heroku

Learning Goals:

  • Consume JSON APIs that require authentication
  • Build an application that requires basic authentication
  • Organize and refactor code to be more maintainable
  • Implement a self-referential relationship in ActiveRecord
  • Apply RuboCop’s style guide for code quality
  • Utilize Continuous Integration using Travis CI
  • Deploy to Heroku

Contributors

Gus Cunningham GitHub | LinkedIn

Saundra Catalina GitHub | LinkedIn

Isabelle Villasenor GitHub | LinkedIn

Our Schema

Database Schema Image

Local Setup

  • If you're a dev wanting to see the code in your local enviroment follow the steps below!
  1. Apply for an API key at TheMovieDB
  2. Clone the repo
    git clone https://github.com/your_username_/viewing_party.git
  3. Install gem packages
    bundle install
  4. Install Figaro
    bundle install figaro
  5. Enter API Key in config/application.yml using the following syntax:
    TMDB_API_KEY: <your api key>
    
  6. Setup the database
    rails db:{create,migrate}
  7. Run tests and open coverage report
    bundle exec rspec
    open coverage/index.html
  8. Run Rubocop
    rubocop

Versions

  • Ruby 2.5.3
  • Rails 5.2.4.3

Ideas for Additional Features

  • Implement styling with JavaScript
  • Add chat functionality to viewing parties
  • Consume additonal API endpoints