- This is the base repo for the viewing party project used for Turing's Backend Module 3.
- This is our completed repo for Viewing Party
This application is used to search for movies by title, or discover new movies by top-rated, then create "Viewing Parties" with friends who are also users of the application.
- App is hosted on Heroku
- Ruby 2.5.3
- Rails 5.2.4.3
Example wireframes to follow are found here
- This project made heavy use of poros to shrink the database and keep code more organized
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
A step by step series of examples that tell you how to get a development env running
- Fork and Clone the repo
- Install gem packages:
bundle install
Key Gems Include:
- weblock/rspec
- vcr
- faraday
- figaro
- factory_bot_rails'
- faker
- Setup the database:
rails db:create
rails db:migrate
rails db:seed
(Will populate seeded users to show functionality of adding Friends, creating Viewing Parties)
To create a viewing party:
- Register by clicking the link "New to Viewing Party? Register Here."
- From your Dashboard, you can add several friends by entering their emails: [email protected], [email protected], [email protected].
- You will see your friends added to your friends list on your Dashboard!
- Next click "Discover Movies" to get the party started!
- On the Discover page, you have the option for searching for a specific movie by title, or searching the Top 40 movies in the App.
- You can click on the name of any movie to see details about that movie including genre(s), cast, ratings, reviews, runtime, etc...
- Once you've found the movie you wish to watch, click "Create New Viewing Party"
- From the New Viewing Party page, you can choose when to host the movie (date and time) and check off what friends you want to invite!
- Once you click "Create Party" you will see your newly created Viewing Party on your dashboard! Grab your popcorn!
- Be sure you already ran
bundle install
bundle exec rspec
- Models:
bundle exec rspec spec/models
- Features:
bundle exec rspec spec/features
- Services(Calls to API):
bundle exec rspec spec/services
- Facades:
bundle exec rspec spec/facades
- Factory Bot
- Faker
- RSpec
- Webmock
- VCR
- Travis CI
- Shoulda-matchers
- Simplecov
- Capybara
- The Movie Database API
- We used Ruby version 2.5.3
- Ruby on Rails version 5.2.4.3
- Thank you to The Movie Database API for allowing us to use their data collections