Table of Contents
Frontend for sovity's Dataspace Authority Portal, written in Angular with TypeScript, NGXS State Management and TailwindCSS Framework.
Both the docker image and the locally run build can be configured via ENV Variables:
# Required: Backend URL
AUTHORITY_PORTAL_FRONTEND_BACKEND_URL=https://my-portal.sovity.io
All available configuration options can be found in app-config.ts
For local development Node16 and NPM are required.
Local Development uses a type-safe Fake Backend.
This requires the API definitions for new and changed endpoints to be ready, as the data will be filled in by the UI Fake Backend.
To start the frontend with the fake backend, please either run:
# Expects the API Client Library to be built
npm run start
or
# Always re-builds the API Client Library
npm run cold-start
Requires Node16 and NPM and a running backend in local development mode (Port 8080).
This can use this to manually test backend implementations in interaction with the UI.
To run the frontend against a locally running backend, please either run:
# Expects the API Client Library to be built
npm run start-e2e-dev
or
# Always re-builds the API Client Library
npm run cold-start-e2e-dev
See LICENSE
for more information.