diff --git a/README.md b/README.md index 6c39dfb..2286586 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Monolithic -A Fullstack manga reading website, full with features. A Predecessor to [alterkai-website](https://github.com/Alterkai/alterkai-website), hence why it's called Alterkai v2 (Codename: Monolithic). Powered by Nuxt 3, PostgreSQL, and Redis. +A Fullstack manga reading website, full with features. A Successor to [alterkai-website](https://github.com/Alterkai/alterkai-website), hence why it's called Alterkai v2 (Codename: Monolithic). Powered by Nuxt 3, PostgreSQL, and Redis. ## Development @@ -23,6 +23,10 @@ Install dependencies npm install ``` +Install [Redis v7.0](https://redis.io/downloads/). This code uses Redis v7.0.5. + +Install [Postgres v16](https://www.postgresql.org/download/). Make sure to install the same version, as different version is untested and may broke the Website. + Configure .env (or copy from .env.example) ```env DB_USER = @@ -59,11 +63,21 @@ Start the server - Azure Blob Storage as CDN/Image storage - Manga and Chapter view trackers using Redis + PgSQL - Daily Highlights for home (random title, reset daily) +- Comments (Basics) +- Comments (Basics) ### Yet to be implemented -- Comments [Soon] +- Switching image CDN [Soon] +- Local History (UI Implementation of Lastread) [Soon] +- Local History (UI Implementation of Lastread) [Soon] - Tasks Assignment for Scanlation Staff [Soon] - Salary Tracking for Scanlation Staff [Soon] +- Popularity Algorithm [Soon] +- SQL seeds [Soon] + +- Popularity Algorithm [Soon] +- SQL seeds [Soon] + ## Authors - [@faralha](https://www.github.com/faralha) diff --git a/app.vue b/app.vue index 1235cce..2b24d69 100644 --- a/app.vue +++ b/app.vue @@ -1,13 +1,12 @@ \ No newline at end of file diff --git a/components/Mangacard/home.vue b/components/Mangacard/home.vue index 4acb4a1..c9bc27b 100644 --- a/components/Mangacard/home.vue +++ b/components/Mangacard/home.vue @@ -4,12 +4,12 @@
-
+
UP
- @@ -24,10 +24,10 @@

- Ch. {{ parseInt(data.chapter_number) ? parseInt(data.chapter_number) : 0 }} + Ch. {{ parseInt(data.chapter_id) ? parseInt(data.chapter_id) : 0 }}

- {{ timeAgo(data.chapter_date_added) ? timeAgo(data.chapter_date_added) : 'Unknown Date' }} + {{ timeAgo(data.chapter_date_added) ? timeAgo(data.chapter_date_added) : 'Unknown' }}

@@ -44,13 +44,14 @@ defineProps({ manga_id: 0, manga_title: 'Manga Title Placeholder', manga_cover: 'https://placehold.co/600x850/333/EEE/png?text=No+Cover', - chapter_number: 0, + chapter_id: 0, chapter_name: 'Latest Chapter', chapter_date_added: new Date(), - views: 0, }) + }, + isUp: { + type: Boolean, + default: true } }) - - - \ No newline at end of file + \ No newline at end of file diff --git a/components/Viewer/horizontal.vue b/components/Viewer/horizontal.vue index 7e2b148..ba63ae2 100644 --- a/components/Viewer/horizontal.vue +++ b/components/Viewer/horizontal.vue @@ -1,10 +1,10 @@