Kevin Midboe b021882013 Refactored user store & moved popup logic from App to store
Cleaned up bits of all the components that use these stores.

User store now focuses around keeping track of the authorization token
and the response from /login. When a sucessfull login request is made we
save our new token and username & admin data to the with login(). Since
cookies aren't implemented yet we keep track of the auth_token to make
authroized requests back to the api later.
The username and admin data from within the body of the token is saved
and only cleared on logout().
Since we haven't implemented cookies we persist storage with
localStorage. Whenever we successfully decode and save a token body we
also save the token to localStorage. This is later used by
initFromLocalStorage() to hydrate the store on first page load.

Popup module is for opening and closing the popup, and now moved away
from a inline plugin in App entry. Now handles loading from &
updating query parameters type=movie | show.
The route listens checks if open every navigation and closes popup if it
is.
2022-01-13 00:14:36 +01:00
2019-10-23 00:43:17 +02:00
2018-08-29 12:57:17 +00:00
2020-02-07 01:19:08 +01:00
2017-03-04 16:46:53 +02:00
2022-01-03 17:50:55 +01:00
2017-03-21 17:12:39 +02:00
2019-06-10 01:06:05 +02:00

The Movie Database App

A Vue.js project.

Demo

TMDB Vue App

Config setup

Set seasonedShows api endpoint and/or elastic.

  • SeasonedShows can be found here and is the matching backend to fetch tmdb search results, tmdb lists, request new content, check plex status and lets owner search and add torrents to download.
  • Elastic is optional and can be used for a instant search feature for all movies and shows registered in tmdb.
{
  "SEASONED_URL": "http://localhost:31459/api",
  "ELASTIC_URL": "http://localhost:9200"
}

Set ELASTIC_URL to undefined or false to disable

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

For detailed explanation on how things work, consult the docs for vue-loader. This app uses history mode

Documentation

All api functions are documented in /docs and found here.
html version also available

License

MIT

Description
seasoned 🌶 | Vue.js webUI for requesting new Movies and TV Shows
Readme 18 MiB
2019-10-23 17:54:43 +00:00
Languages
Vue 77%
TypeScript 15.3%
SCSS 4%
JavaScript 3.1%
HTML 0.4%
Other 0.2%