From 7ba716cd6fb5bb33768ceb1d310dddb30ba4c375 Mon Sep 17 00:00:00 2001 From: Niels Simenon Date: Sun, 15 Dec 2019 05:42:51 +0100 Subject: [PATCH] Experimenting using GraphQL in favor of REST. --- assets/components/container/container.vue | 3 +- assets/components/releases/release.vue | 22 +- assets/components/releases/releases.vue | 1 + assets/components/tile/actor.vue | 5 +- assets/components/tile/release.vue | 24 +- assets/img/film.svg | 5 + assets/img/film2.svg | 5 + assets/img/film3.svg | 5 + assets/js/api.js | 34 +- assets/js/releases/actions.js | 89 +++- migrations/20190325001339_releases.js | 26 +- package-lock.json | 526 +++++++++++++++++++++- package.json | 3 + public/css/style.css | 62 +-- seeds/04_media.js | 1 + src/app.js | 4 +- src/releases.js | 262 ++++++++--- src/scrape-release.js | 25 +- src/scrape-sites.js | 7 +- src/scrapers/dogfart.js | 2 +- src/web/server.js | 23 + 21 files changed, 1021 insertions(+), 113 deletions(-) create mode 100644 assets/img/film.svg create mode 100644 assets/img/film2.svg create mode 100644 assets/img/film3.svg diff --git a/assets/components/container/container.vue b/assets/components/container/container.vue index bb4e315a..9372b7d3 100644 --- a/assets/components/container/container.vue +++ b/assets/components/container/container.vue @@ -3,7 +3,8 @@
- + +
diff --git a/assets/components/releases/release.vue b/assets/components/releases/release.vue index 8953ed02..346cb003 100644 --- a/assets/components/releases/release.vue +++ b/assets/components/releases/release.vue @@ -108,6 +108,22 @@ +
+

Scenes

+ + +
+ +
+

Movie

+ + +
+