Locusworks Team/portal-webapp/pipeline/head There was a failure building this commit
24 lines
592 B
Markdown
24 lines
592 B
Markdown
# Portal client
|
|
|
|
The portal UI is an Angular 22.1 standalone application built with Angular CLI and npm.
|
|
|
|
## Development
|
|
|
|
Use Node.js 24.15 or newer in the Node 24 release line and npm 12:
|
|
|
|
```shell
|
|
npm ci
|
|
npm start
|
|
```
|
|
|
|
The development server serves the client locally. API and WebSocket requests target the Spring application under `/portal`.
|
|
|
|
## Verification and production build
|
|
|
|
```shell
|
|
npm test
|
|
npm run build
|
|
```
|
|
|
|
The production build is emitted to `dist`. Maven performs `npm ci`, runs the tests and build, then packages `dist` under `/portal/client/` in the Spring Boot application.
|