Skip to content

EmmyMorris/viewing_party

 
 

Repository files navigation

Viewing Party Build Status

About

Viewing Party allows users to explore movies via The Movie Database API and create viewing parties. Users can host their own parties and invite their friends on the app or attend parties hosted by other users.

👀 Visit the app on Heroku

Local Setup

  1. Fork and Clone the repo
  2. Install gem packages: bundle install
  3. Setup the database: rails db:create
  4. Run migrations: rails db:migrate
  5. Install the Figaro gem: bundle exec figaro install
  6. Create an account with The Movie Database and request an API key
  7. Add your API key to the application.yml created by Figaro:
MOVIE_DB_KEY: your_api_key

Using the App

Database Design

database schema diagram

Important Gems

Testing

API Consumption

Testing

  • RSpec and Capybara were used for unit and integration testing and project development adhered to TDD principles.
  • WebMock was used to stub out API requests and actual requests are blocked from the test environment.
  • Simplecov was used to track total test coverage.
  • To run our test suite, RSpec, enter $ bundle exec rspec in the terminal.
  • To see a coverage report enter $ open coverage/index.html
  • SimpleCov test coverage is at 100.00%:

Viewing-Party Test Coverage

Versions

  • Ruby 2.7.2

  • Rails 5.2.5

Authors

About

Starter repo for a backend module 3 project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 86.5%
  • HTML 11.3%
  • Other 2.2%