Kavita/UI/Web
Joe Milazzo 3a0c796c08
Side Nav UX Changes (#3345)
Co-authored-by: Christopher <39032787+MrRobotjs@users.noreply.github.com>
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
2024-11-07 15:21:14 -08:00
..
.github/workflows On Deck + Misc Fixes and Changes (#1215) 2022-04-11 15:43:40 -07:00
src Side Nav UX Changes (#3345) 2024-11-07 15:21:14 -08: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 Update to Angular 18 (#3309) 2024-10-25 13:55:49 -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 Smart Collection UI Changes (#3332) 2024-11-04 09:16:17 -08:00
package.json Update to Angular 18 (#3309) 2024-10-25 13:55:49 -07:00
README.md Fixes before Release (#3172) 2024-09-16 15:08:15 -07:00
sync-locales.js Stats Fix & Library Bulk Actions (#3209) 2024-09-23 06:07:37 -07:00
tsconfig.app.json v0.7 - Who doesn't like Stats? (#1798) 2023-02-18 07:01:04 -08:00
tsconfig.json Update to Angular 18 (#3309) 2024-10-25 13:55:49 -07: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-eslint/parser @angular/localize @angular/compiler-cli @angular-devkit/build-angular @angular/cdk