Kavita/UI/Web
2024-07-09 15:57:47 +02:00
..
.github/workflows On Deck + Misc Fixes and Changes (#1215) 2022-04-11 15:43:40 -07:00
src UI centered font management 2024-07-09 15:57:47 +02: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 MAL Interest Stacks (#2933) 2024-05-04 13:45:46 -07: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 Theme Viewer + Theme Updater (#2952) 2024-05-13 15:00:13 -07:00
package.json MAL Interest Stacks (#2933) 2024-05-04 13:45:46 -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