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.
- Fork and Clone the repo
- Install gem packages:
bundle install
- Setup the database:
rails db:create
- Run migrations:
rails db:migrate
- Install the Figaro gem:
bundle exec figaro install
- Create an account with The Movie Database and request an API key
- Add your API key to the
application.yml
created by Figaro:
MOVIE_DB_KEY: your_api_key
Testing
API Consumption
- 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
-
Ruby 2.7.2
-
Rails 5.2.5
- Molly Krumholz - mkrumholz
- Emmy Morris - emmymorris