Commit Graph

  • d789d343af Add auth module. mike.rode 2019-02-18 15:19:54 -06:00
  • 7ec224b192 WIP (Need to refactor) - Add import view count for 6 top most watched shows mike.rode 2019-02-15 02:47:21 -06:00
  • 3820029a98 Use upsert when importing libraries. mike.rode 2019-02-15 01:39:32 -06:00
  • 946da955d3 Use restful routing for importing. mike.rode 2019-02-15 00:32:05 -06:00
  • fd4846379b Use env file to set plex token. mike.rode 2019-02-14 23:59:13 -06:00
  • 1ab76803ac Add env to gitignore mike.rode 2019-02-14 23:57:38 -06:00
  • 020838052e Remove Plex Api token. mike.rode 2019-02-14 23:26:32 -06:00
  • 229d981d80 Import libraries into postgres DB. mike.rode 2019-02-14 00:11:25 -06:00
  • 0853a73ff4 Add sequelize, user model, and plexLibrary model. mike.rode 2019-02-13 21:23:13 -06:00
  • b0b9fffeb8 Add test for getLibraryDataBySection. mike.rode 2019-02-13 19:36:57 -06:00
  • 1b58de675b Test getMostWatched by account. mike.rode 2019-02-13 18:43:24 -06:00
  • cecc4db9e6 Extract format response to helper function. mike.rode 2019-02-13 18:03:43 -06:00
  • d9aa5d8dae Refactor mostWatched query to accept query object instead of individual arguments. mike.rode 2019-02-13 17:37:59 -06:00
  • 652973f228 Add endpoint and tests for Plex sections. mike.rode 2019-02-13 01:32:21 -06:00
  • ca92855171 Endpoint for most watched and tests. mike.rode 2019-02-13 00:57:04 -06:00
  • 066d05b1be Check header type and parse XML to JSON if content-type is XML. mike.rode 2019-02-13 00:42:03 -06:00
  • f4fee56397 Parse getUsers response. mike.rode 2019-02-13 00:01:11 -06:00
  • 2ba174d6c9 Add response body to getUsers API test. mike.rode 2019-02-12 23:52:16 -06:00
  • 8b133ca3d0 Fix naming of tests. mike.rode 2019-02-12 23:51:09 -06:00
  • 4b282c3c03 Refactor tests to import mock XML and JSON from files. mike.rode 2019-02-12 23:49:42 -06:00
  • 30d69b1e85 Test for getUsers Api function. mike.rode 2019-02-12 22:52:37 -06:00
  • 5036222439 Add getUsers endpoint for plexApi. mike.rode 2019-02-12 22:52:24 -06:00
  • 94258f06f8 Update test to import plexApi instead of plexApi index. mike.rode 2019-02-12 21:04:45 -06:00
  • 749b396d63 Export instance of PlexApiClient instead of class constructor. mike.rode 2019-02-12 20:57:29 -06:00
  • ac4e2b3546 Fix config export so server settings are correct. mike.rode 2019-02-12 20:37:35 -06:00
  • 88943c485f Merge branch 'develop' into 'master' Michael Rode 2019-02-12 23:43:38 +00:00
  • e163faeec5 Initial commit Michael Rode 2019-02-12 23:36:47 +00:00
  • 9a057ca1f1 WIP PlexAPI: Added tests for building url. mike.rode 2019-02-11 04:26:02 -06:00
  • 28c87283ba WIP PlexAPI: Added tests for requesting users. mike.rode 2019-02-11 04:20:14 -06:00
  • 3c96fcbfce WIP PlexAPI: Added tests for building url. mike.rode 2019-02-11 03:08:17 -06:00
  • 7a7ad733f3 WIP: First test and init PlexClientApi mike.rode 2019-02-11 02:48:25 -06:00
  • d87170c692 Add supertest and setup first api test. mike.rode 2019-02-10 23:09:04 -06:00
  • 103d421bbf Use ES6 module import and arrow functions. mike.rode 2019-02-10 20:57:05 -06:00
  • d32aa3c6cf Use babel preset node8 and force arrow functions. mike.rode 2019-02-10 20:56:40 -06:00
  • 174fd8a836 WIP: Setup basic API routing and controllers. mike.rode 2019-02-10 19:37:38 -06:00
  • 61659d1ab2 Add prettier, eslint, and husky with npm scripts. mike.rode 2019-02-10 18:31:46 -06:00
  • 38d586f3a2 Add babel-cli and babel-preset-es2015 and update start scripts mike.rode 2019-02-10 17:36:01 -06:00
  • e1e9aa00ae Initial commit mike.rode 2019-02-10 16:57:20 -06:00