Viewing Party is a 10-day, 2 person project, during Module 3 of 4 for Turing School's Back End Engineering Program.
Our challenge was to build an application in which users can explore movie options and create a viewing party event for the user and friend's.
For this project, we consumed an authenticated JSON API from the Movie Database to access movie details, cast, reviews, etc. We used self referential ActiveRecord associations to create friends for users. The application requires authentication and authorization to access pages throughout the website. Continuous integration was utilized with Travis CI, and the application was deployed to Heroku. By maintaining a TDD mindset, we were able to make sure our features and models were being tested consistently throughout the development process.
-
Ruby version
$ ruby -v ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-darwin20]
-
$ rails -v Rails 5.2.6
-
Database creation
$ rails db:{drop,create,migrate} Created database 'viewing_party_development' Created database 'viewing_party_test'
-
How to run the test suite
$ bundle exec rspec -fd
-
Local Deployment, for testing:
$ rails s => Booting Puma => Rails 5.2.6 application starting in development => Run `rails server -h` for more startup options Puma starting in single mode... * Version 3.12.6 (ruby 2.7.2-p137), codename: Llamas in Pajamas * Min threads: 5, max threads: 5 * Environment: development * Listening on tcp://localhost:3000 Use Ctrl-C to stop
-
Heroku Deployment, for production