Giter VIP home page Giter VIP logo

whattowatch's People

Contributors

mjrode avatar mjrthrowaway avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

bolavefasfas

whattowatch's Issues

Refactor and Test

  • Test auth endpoint
  • Add test coverage
  • Review remaining tests
  • Cleanup code
  • Restful routing

Frontend

  • User would auth with Plex pass and username
  • Would then display recommended TV shows or Movies

Project Structure

  • server
    • controllers
      • apis
        • plex
          • index.js Controller which handles all calls to services/plexApi
    • models
      • index.js Configure sequelize and import all models
      • plexLibrary.js Represents all of a users Plex media
      • plexSection.js Represents all the sections in a users Plex library(movies, tv, etc..)
      • users.js User model
    • routes
      • index.js Imports all routes in the directory
      • apis
        • index.js Imports different versioned routes and controllers
        • v1
          • index.js Imports all routes and controllers for version 1 of the API
    • services
      • plexAPI
        • auth.js takes a plex username and password and returns a plex token
        • importData holds functions responsible for importing plex data into the DB
        • index.js File to export all API calls provided by plexAPI
        • plexApi.js Sets up the plexAPI to be used by other files.
      • touchdrive

Trakt Support and Disliked Shows

Integrate with Trakt account.

  • Automatically add completed shows

  • Delete any hidden shows (shows you don't like - similar shows to them won't be recommended)

Rename files and organize code

  • Look through code for ways to make things more consistent.
  • A better way to name/organize importData.js
  • [x ] Should we continue to use index files
  • Switch file names from camel case to snake case.
  • movieDBcontroller is using tdaw methods. This needs to be cleaned up.

Application flow

Plex flow

  • User would create an account and log in.
  • User would enter in plex username and password to fetch auth token
  • Use Plex API to populate the database with the user's media
  • Use Plex API to find 5 most watched shows
  • Update database records with the view count

Tastedive Flow

  • Make a request to Tastedive to get recommendations based on the most watched shows.
  • Store recommendations in the database
  • Find recommendations that are not already in the user's library
  • Return those recommendations to the user.

Integrate TDAW API w/ Plex API

  • Search TDAW API using top 5 watched Plex shows
  • Compare TDAW recommendations to current plex library and remove shows currently in library

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.