Kavita/UI/Web
Weblate (bot) a76de06087
[skip ci] Weblate Changes (#2721)
Co-authored-by: B1ondy <stefan204@azet.sk>
Co-authored-by: CVHNups <cvhnups@gmail.com>
Co-authored-by: Duarte Silva <smallflake@protonmail.com>
Co-authored-by: Flashky <mevengar@gmail.com>
Co-authored-by: François <franbelle.langres@gmail.com>
Co-authored-by: Full name <s6f4z20m3y@zlorkun.com>
Co-authored-by: Gabriele <gabriele1413.4@gmail.com>
Co-authored-by: Gregory.Open <gregory.open@proton.me>
Co-authored-by: Havokdan <havokdan@yahoo.com.br>
Co-authored-by: J T <tuengler.j@gmail.com>
Co-authored-by: Jann Pächnatz <jann@mangosaftlama.de>
Co-authored-by: LauriL <TheLauri@users.noreply.hosted.weblate.org>
Co-authored-by: LeeWan1210 <dldhks456@live.com>
Co-authored-by: Lyrq <lyrq.ku@gmail.com>
Co-authored-by: NeneNeko <lennon.rin@gmail.com>
Co-authored-by: Parsec82 <parsec82@gmail.com>
Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Co-authored-by: Robert Hartings <generic-mail+github@mailbox.org>
Co-authored-by: SmartHomeSchmidt <schmidt.dreas@gmail.com>
Co-authored-by: ch3i <ch3i@ch3i.info>
Co-authored-by: fl0k1 <michele.carnova@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: majora2007 <kavitareader@gmail.com>
Co-authored-by: rumichi <rumichi2210@outlook.com>
Co-authored-by: 书签 <shuqian.emu@gmail.com>
Co-authored-by: 無情天 <kofzhanganguo@126.com>
Co-authored-by: 石丸健太郎 <marudosurdo@gmail.com>
2024-04-09 16:00:25 -07:00
..
.github/workflows On Deck + Misc Fixes and Changes (#1215) 2022-04-11 15:43:40 -07:00
src [skip ci] Weblate Changes (#2721) 2024-04-09 16:00:25 -07:00
.editorconfig v0.7.4 - Kavita+ Launch (#2117) 2023-07-11 11:14:18 -07:00
.eslintrc.json v0.7 - Who doesn't like Stats? (#1798) 2023-02-18 07:01:04 -08:00
.gitignore Email is now Built-in! (#2635) 2024-01-20 09:16:54 -08:00
angular.json Downloading Enhancements (#2599) 2024-01-11 12:08:57 -08:00
hash-localization-prime.js Bugfixes + Potential iOS Webtoon Reader Fix (#2653) 2024-01-25 13:31:17 -08:00
hash-localization.js PDF Reader Settings, New Reading Modes, and lots of fixes (#2828) 2024-03-30 13:07:03 -07:00
LICENSE The big one (#396) 2021-07-17 14:03:11 -05:00
minify-json.js Angular 17 (#2422) 2023-11-09 06:06:59 -08:00
package-lock.json Missing Migration (#2790) 2024-03-17 15:21:28 -07:00
package.json PDF Reader Settings, New Reading Modes, and lots of fixes (#2828) 2024-03-30 13:07:03 -07:00
README.md PDF Reader Settings, New Reading Modes, and lots of fixes (#2828) 2024-03-30 13:07:03 -07:00
tsconfig.app.json v0.7 - Who doesn't like Stats? (#1798) 2023-02-18 07:01:04 -08:00
tsconfig.json Nightly Issues (#2618) 2024-01-18 06:35:54 -08:00
tsconfig.spec.json The big one (#396) 2021-07-17 14:03:11 -05:00

Kavita Webui

This project was generated with Angular CLI version 11.0.0.

Development server

Run npm run start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files. Your backend must be served on port 5000.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Run npx playwright test --reporter=line or npx playwright test to run e2e tests.

Connecting to your dev server via your phone or any other compatible client on local network

Update IP constant in src/environments/environment.ts to your dev machine's ip instead of localhost.

Run npm run start

Notes:

  • injected services should be at the top of the file
  • all components must be standalone

Update latest angular

ng update @angular/core @angular/cli @typescript-es lint/parser @angular/localize @angular/compiler-cli @angular/cli @angular-devkit/build-angular @angular/cdk