Table of Contents
Viewing party is an application that utilizes the Movie DB API. Users can visit our app, register to create an account, and from there find other users to create friends. Once a user registers an account, the user can utilize login/logout features. User passwords are encrypted with the gem Bcrypt and not saved in our database in the raw form. As a user and as a guest, you can discover movies by searching for a specific movie, or viewing the current top 40 popular movies section. When a user finds a movie they want to see, they can view a movie page which shows the details for the movie such as cast and any reviews available.
If a user is signed in, they have the option to create a viewing party for that movie. When clicking the button to create a viewing party from the movie page, the user is redirected to page with a form. The form includes the name of the movie, and the length of the movie by default. Date and time can then be selected, and the page will show all of the friends that can be selected with a check box. Then, once the viewing party is created, the the user is defaulted back to the user dashboard, where they will see any viewing parties that they are either hosting or have been invited to.
- Ruby 2.7.2
- Ruby on Rails 5.2.6
- Bootstrap
- HTML
- CSS
- Heroku
- Capybara
- Pry
- Bcrypt
- Figaro
- Faraday
- Factory Bot Rails
- Faker
- MailCatcher
- To run this project locally, you will need ruby 2.7.2 and well as Rails 5.2.6.
- Get a free API Key at www.themoviedb.org
- Clone the repo
git clone https://github.com/gunnarrunner/viewing_party.git
- Change Directories
cd viewing_party
- Perform Gem installation
bundle install
- Figaro Gem Docs can be found here
bundle exec figaro install
- Enter your API in
config/application.yml
movie_key = 'ENTER YOUR API'
We created an email function for this project in development. It has not yet fully been implemeneted, but when a user creates a viewing party and invites friends, an email with the movie title, date and time is sent out to all friends that have been invited. Currently, the gem mailcatcher stops any and all emails from being sent out from our app.
We would also like to create our own in house reviews for movies, as well as a chat feature. The chat feature would allow users to communicate with each other during the movie via our application.
This application can be found here and be used to research movies and create viewing parties with friends. Please feel free to use and enjoy!
Gunnar Runkle - Gunnar's LinkedIn
Matt Toensing - GitHub Email LinkedIn
Thank you for the Movie DB for letting us utilize their API. We also would like to thank our wonderful instuctors at the Turing School of Software and Design.