https://github.com/naomiyocum/viewing_party_lite
Explore movie options and create viewing parties with friends!
https://github.com/naomiyocum/viewing_party_lite
api-rest authentication authorization rails-application
Last synced: 9 months ago
JSON representation
Explore movie options and create viewing parties with friends!
- Host: GitHub
- URL: https://github.com/naomiyocum/viewing_party_lite
- Owner: naomiyocum
- Fork: true (turingschool-examples/viewing_party_lite)
- Created: 2022-11-28T18:59:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-04T14:31:13.000Z (almost 3 years ago)
- Last Synced: 2024-09-26T16:03:18.080Z (over 1 year ago)
- Topics: api-rest, authentication, authorization, rails-application
- Language: Ruby
- Homepage: https://viewing-party-lite.fly.dev
- Size: 396 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Viewing Party 🎥


Example view of a user's dashboard
## Table of Contents
* [General Info](#general-info)
* [Learning Goals](#learning-goals)
* [Technologies](#technologies)
* [Schema Design](#schema-design)
* [Usage](#usage)
## General Info
Check out the [deployed version](https://viewing-party-lite.fly.dev/)!
Viewing Party Lite is an application in which users can explore movie options and create a viewing party event for themselves and other users of the application. Features include browsing top rated movies, searching for movies by title, and viewing movie data such as vote average, cast, runtime, and reviews.
This is the base repo for the [Viewing Party Lite project](https://backend.turing.edu/module3/projects/viewing_party_lite) used for Turing's Backend Module 3. Example wireframes to follow are found [here](https://backend.turing.edu/module3/projects/viewing_party_lite/wireframes).
## Learning Goals
- Consume JSON APIs that require authentication
- Test consumption of APIs (facades, services, poros)
- Organize and refactor code to be more maintainable
- Apply RuboCop’s style guide for code quality
- Authentication and authorization implementation
## Technologies
- Ruby 2.7.2
- Rails 5.2.6
## Schema Design

## Usage
Clone the repo by running `git clone` with the copied URL onto your local machine
Then, run the following commands:
```
cd viewing_party_lite
bundle install
rails db:{drop,create,migrate,seed}
bundle exec figaro install
```
The Figaro installation will create a commented `config/application.yml` file. This is where you want to add your [Movie DB](https://developer.themoviedb.org/docs) API key - `da_key: #{YOUR_API_KEY}`.
Then open up your server by running `rails s`.
Lastly, head to your web browser and type `localhost:3000` and click enter.
Now you're on the main page! Go ahead and register as a new user and search for your favorite movie to create a viewing party!
To run tests - `bundle exec rspec`