├── .env.local ├── .gitignore ├── LICENSE ├── README.md ├── babel.config.js ├── example1.png ├── example2.png ├── example3.png ├── example4.png ├── package-lock.json ├── package.json ├── public ├── favicon.ico └── index.html ├── src ├── App.vue ├── assets │ ├── images │ │ ├── background │ │ │ └── website.jpg │ │ └── netflix.svg │ └── scss │ │ ├── helpers │ │ ├── _breakpoints.scss │ │ ├── _default.scss │ │ ├── _mixins.scss │ │ ├── _normalize.scss │ │ ├── _settings.scss │ │ └── _variables.scss │ │ ├── transitions │ │ ├── fade │ │ │ ├── fade-height.scss │ │ │ ├── fade-in-down.scss │ │ │ ├── fade-in-left.scss │ │ │ ├── fade-in-right.scss │ │ │ ├── fade-in-up.scss │ │ │ ├── fade.scss │ │ │ └── index.scss │ │ └── zoom │ │ │ ├── index.scss │ │ │ └── zoom.scss │ │ └── ui │ │ ├── button.scss │ │ ├── checkbox.scss │ │ ├── dropdown.scss │ │ ├── form.scss │ │ ├── hamburger.scss │ │ ├── input.scss │ │ ├── link.scss │ │ └── tile.scss ├── components │ ├── Header │ │ ├── AuthorizedHeader.vue │ │ ├── Header.scss │ │ ├── Header.vue │ │ └── UnauthorizedHeader.vue │ ├── MovieDetails │ │ ├── MovieDetails.scss │ │ └── MovieDetails.vue │ ├── MovieLabels │ │ ├── MovieLabels.scss │ │ └── MovieLabels.vue │ ├── MovieList │ │ ├── MovieList.scss │ │ └── MovieList.vue │ ├── MovieListItem │ │ ├── MovieListItem.scss │ │ └── MovieListItem.vue │ ├── MovieSlider │ │ ├── MovieSlider.scss │ │ └── MovieSlider.vue │ ├── MovieSliderItem │ │ ├── MovieSliderItem.scss │ │ └── MovieSliderItem.vue │ ├── Pagination │ │ ├── Pagination.scss │ │ └── Pagination.vue │ ├── ProfileDropdown │ │ ├── ProfileDropdown.scss │ │ └── ProfileDropdown.vue │ ├── Slider │ │ ├── Slider.scss │ │ └── Slider.vue │ └── Spinner │ │ ├── Spinner.scss │ │ └── Spinner.vue ├── directives │ └── clickOutside.js ├── helpers │ ├── axiosInterceptors.js │ ├── constants.js │ ├── debounce.js │ ├── fontawesome.js │ └── getImageUrl.js ├── index.scss ├── main.js ├── pages │ ├── Home │ │ ├── Home.scss │ │ └── Home.vue │ ├── Movies │ │ └── Movies.vue │ ├── MyList │ │ └── MyList.vue │ ├── Popular │ │ └── Popular.vue │ ├── RecoverPassword │ │ ├── RecoverPassword.vue │ │ ├── RecoverPasswordForm.vue │ │ └── RecoverPasswordSuccess.vue │ ├── Search │ │ └── Search.vue │ ├── SignIn │ │ ├── SignIn.scss │ │ └── SignIn.vue │ ├── SignUp │ │ └── SignUp.vue │ ├── StartNow │ │ ├── StartNow.scss │ │ └── StartNow.vue │ └── TVShows │ │ └── TVShows.vue ├── router │ └── index.js ├── services │ └── SliderService.js └── store │ ├── index.js │ ├── myList │ └── index.js │ ├── shared │ └── index.js │ └── user │ └── index.js └── vue.config.js /.env.local: -------------------------------------------------------------------------------- 1 | VUE_APP_FIREBASE_API_KEY= 2 | VUE_APP_FIREBASE_AUTH_DOMAIN= 3 | VUE_APP_FIREBASE_PROJECT_ID= 4 | VUE_APP_FIREBASE_STORAGE_BUCKET= 5 | VUE_APP_FIREBASE_MESSAGING_SENDER_ID= 6 | VUE_APP_FIREBASE_APP_ID= 7 | 8 | VUE_APP_TMDB_API_KEY= 9 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /dist 4 | 5 | # local env files 6 | .env 7 | .env.local 8 | .env.*.local 9 | 10 | # Log files 11 | npm-debug.log* 12 | yarn-debug.log* 13 | yarn-error.log* 14 | 15 | # Editor directories and files 16 | .idea 17 | .vscode 18 | *.suo 19 | *.ntvs* 20 | *.njsproj 21 | *.sln 22 | *.sw? 23 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Yaroslav Afanassiev 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Vue Netflix Clone 2 | A simple [Netflix](https://netflix.com) clone based on Vue powered by [Firebase](https://firebase.google.com). 3 |
10 | 11 | ## Live Demo 12 | Link: https://approxipix.github.io/vue-netflix-clone 13 | 14 |  15 |  16 |  17 |  18 | 19 | 20 | ## Tech stack 21 | * [Vue](https://github.com/vuejs/vue) 22 | * [Vuex](https://github.com/vuejs/vuex) 23 | * [Vue Router](https://github.com/vuejs/vue-router) 24 | * [Firebase](https://firebase.google.com) 25 | * [The Movie Database (TMDb)](https://www.themoviedb.org) 26 | 27 | ## Features 28 | - [x] Authentication 29 | - [x] Sign up 30 | - [x] Sign in 31 | - [x] Sign in with Google 32 | - [x] Sign in with Facebook 33 | - [x] Sign in as demo user 34 | - [x] Recover password with email verification 35 | - [x] Logout 36 | - [x] Movies 37 | - [x] Search movies 38 | - [x] List of movies by category 39 | - [x] List of movies with pagination 40 | - [x] Detailed information about the movie 41 | - [x] Fully responsive movie slider 42 | - [x] Add movie to "my list" 43 | - [x] Responsive 44 | 45 | ## Configuration 46 | To use this project with Firebase authentication, some configuration steps are required. 47 | 1) Create a free Firebase account at [Firebase](https://firebase.google.com) 48 | 2) Create a project from your [Firebase account console](https://console.firebase.google.com) 49 | 3) Configure the authentication providers for your Firebase project from your [Firebase account console](https://console.firebase.google.com) 50 | 4) Configuration required to connect to Firebase is defined in the `.env.local` file in the root of this repository 51 | ```js 52 | VUE_APP_FIREBASE_API_KEY='11 | {{ movie.overview }} 12 |
13 |14 | Genres: {{ movieGenres }} 15 |
16 | 19 | 22 |9 | {{ movie.overview }} 10 |
11 |8 | Please, check your email for a password reset link 9 |
10 |
101 | New to netflix?
WATCH ANYWHERE. CANCEL ANYTIME.
6 |