Repository for the KISS frontend developed with ICATT for Dimpact
  • C# 50.3%
  • Vue 26.7%
  • TypeScript 19.5%
  • SCSS 1.4%
  • Python 1%
  • Other 1.1%
Find a file
mstokericatt 90a79fa066
Merge pull request #1574 from Klantinteractie-Servicesysteem/dependabot/npm_and_yarn/npm_and_yarn-564214c1bb
build(deps): bump the npm_and_yarn group across 1 directory with 2 updates
2026-10-19 15:08:54 +02:00
.github Merge pull request #1569 from Klantinteractie-Servicesysteem/chore/changelog-automation 2026-10-15 10:33:45 +02:00
.vscode fix workflow 2026-05-05 03:02:09 +02:00
crawler curl hook, crawler run script and suggestions readded to querybuilder 2026-06-17 09:15:34 +02:00
docs ci: automate release notes from merged PRs and their issues 2026-10-09 12:23:26 +02:00
helm feat: add usePabc to helm chart values, configmap and schema 2026-08-25 16:39:01 +02:00
Kiss.Bff feat: add GespreksId to management information 2026-09-24 17:24:03 +02:00
Kiss.Bff.EndToEndTest fixed polly related test cases 2026-09-16 07:00:20 +02:00
Kiss.Bff.Test feat: add GespreksId to management information 2026-09-24 17:24:03 +02:00
Kiss.Elastic.Sync package update 2026-08-14 10:53:16 +02:00
Kiss.Elastic.Sync.IntegrationTest fix project reference 2026-05-18 16:52:12 +02:00
security/docker security was in wrong folder 2023-06-22 10:36:38 +02:00
src merge from main 2026-10-02 09:24:05 +02:00
.dockerignore remove .git in dockerignore 2024-11-14 19:32:37 +01:00
.editorconfig editorconfig 2023-06-15 12:22:42 +02:00
.env clean sync tool from enterpise search 2026-06-09 13:40:46 +02:00
.env.local.example kennisbank image versie 2026-06-26 15:09:42 +02:00
.gitattributes line endings 2023-06-15 12:20:57 +02:00
.gitignore fixed failing script 2026-07-25 08:18:37 +02:00
.npmrc npm configuratie 2022-06-02 17:46:04 +02:00
.readthedocs.yml add docs to kiss-frontend repo 2025-12-09 16:36:56 +01:00
.runsettings chore: rename runsettings so it gets picked up automatically 2024-08-26 12:55:49 +02:00
.stylelintrc.json kader om resultaten 2025-07-29 15:46:03 +02:00
AUTHORS.md Update AUTHORS.md 2023-06-23 11:34:46 +02:00
CodeCoverage.runsettings code coverage settings 2023-06-27 11:02:15 +02:00
DECISION-RECORD.md Added custom PolicyProvider for Yarp proxies 2026-01-28 16:37:27 +01:00
deviations.md First draft for extenden documentation 2022-05-03 11:24:20 +02:00
docker-compose.dcproj remove certificates, pin posgres 2025-12-17 17:28:32 +01:00
docker-compose.deploy.yaml aanpassing docker compose voor doorgeven van arguments 2025-07-17 13:16:08 +02:00
docker-compose.override.yml non-root 2023-06-12 18:37:21 +02:00
docker-compose.yml new docker compose, removed readme 2026-05-19 17:10:30 +02:00
env.d.ts project to base folder 2022-04-25 13:07:01 +02:00
eslint.config.js fix lint rules 2026-06-15 14:01:00 +02:00
index.html bevindingen tijdens accorderen 2023-08-15 12:29:27 +02:00
KISS-frontend.esproj add frontend to solution 2023-04-25 17:56:29 +02:00
KISS-frontend.sln added to solution 2026-05-18 16:49:43 +02:00
launchSettings.json cleanup 2023-05-01 12:16:52 +02:00
LICENSE.md Add EUPL 2022-04-25 11:55:37 +02:00
package-lock.json build(deps): bump the npm_and_yarn group across 1 directory with 2 updates 2026-10-14 11:38:15 +00:00
package.json build(deps): bump the npm_and_yarn group across 1 directory with 2 updates 2026-10-01 11:40:57 +00:00
postcss.config.cjs fix deprecation warnings 2025-01-22 15:14:36 +01:00
README.md docs: add developer reference for PABC in README 2026-07-30 14:26:24 +02:00
security.md helm v36 2023-06-15 16:49:21 +02:00
tsconfig.app.json feat: zaken in register / systeem benadering 2025-03-04 10:44:48 +01:00
tsconfig.json cleanup 2022-06-02 15:24:52 +02:00
tsconfig.vite-config.json fix typechecking 2023-08-16 09:56:57 +02:00
tsconfig.vitest.json update dependencies 2026-06-15 13:56:24 +02:00
UNIT-TESTS.MD remove gateway references 2023-06-21 18:27:51 +02:00
vite.config.ts update vite and vitest to latest 2025-01-22 15:15:53 +01:00

Build and Tests Code quality checks Known Vulnerabilities Dependabot Playwright Tests

kiss-frontend

Setup environment variables

Make a copy of .env.local.example, rename it to: .env.local and fill in the required secrets.

NOTE: The example file does not contain all environment variables. A complete overview of all possible variables can be found at: https://kiss-klantinteractie-servicesysteem.readthedocs.io/nl/stable/installation/configuratie.html

Now, you can either run the application from Visual Studio or with docker-compose.

Run from Visual Studio 2022

Setup the environment variables first according to the setup environment variables chapter.

Use these steps to run KISS from visual studio 2022:

  1. Make sure you've installed Docker Desktop version 4.19.0 or newer (preferably with WSL2 if using windows) and Visual Studio version 17.5.5 or newer

  2. Clone this repo using Visual Studio. The KISS-frontend.sln will automatically be opened.

  3. Right-click on Solution 'KISS-frontend' in the Solution Explorer and click Configure Startup Projects

  4. Select Multiple startup projects, and set the Action for docker-compose and KISS-frontend to Start. Make sure all other projects are set to None:

    Project Action
    docker-compose Start
    KISS-frontend Start
    Kiss.Bff None
  5. Right-click on docker-compose in the Solution Explorer and click Manage Docker Compose Launch Settings.

  6. Make sure the following is set:

    Service Name Project Name Action
    kiss.bff Kiss.Bff Start debugging
    postgres-db None Start without debugging
  7. Startup the solution and wait for both the BFF and the frontend to be ready.

    (NOTE: initially you might get an error, due to different startup times of individual components. refresh the page after a few moments)

Run with docker-compose

Setup the environment variables in the env.local file first according to the setup environment variables chapter.

To run the front-end and BFF with docker you need a cmd-window opened at the root of this project.

  1. Build the KISS-frontend image using the following command:

    docker-compose build
    
  2. Run the image with its dependencies:

    docker-compose up
    
  3. Launch a browser and navigate to: http://localhost:7231

KISS uses Elasticsearch directly. The BFF queries the search-* index pattern to search across all configured sources.

Follow these steps to connect your local development environment to an Elastic search instance hosted in Azure/kubernetes:

(Note: before you follow these steps make sure you have the role "Co-Administrator" with the corresponding subscription. if you dont, search in the azure subsription and add in the tab Access Control, your user with the role "Co-Administator". this can be found under the sub tab Classic administrator. otherwise redo the steps below)

  1. Install and open the Azure CLI.

Run the following commands:

  1. az login (once, and make sure that the account you're logging in with, has a the correct role with the corresponding subscription)
  2. az account set --subscription [...your subscription id...] (once)
  3. az aks get-credentials --resource-group [for example: KISS_Kubernetes_Dev] --name [for example: KISS_Kubernetes_Dev]
  4. kubectl config set-context --current --namespace=[for example: kiss-namespace]
  5. kubectl port-forward service/kiss-es-http 9200 -n kiss-namespace

Elastic Sync

The Kiss.Elastic.Sync tool syncs structured data sources (VACs, Medewerkers, SDG Producten, SharePoint) into Elasticsearch so they can be searched from KISS.

Prerequisites

Running the sync

From the root of this repo:

docker compose build kiss.elastic.sync

Then run the desired sync:

docker compose run --rm kiss.elastic.sync           # SDG Producten
docker compose run --rm kiss.elastic.sync vac        # VACs
docker compose run --rm kiss.elastic.sync smoelenboek # Medewerkers
docker compose run --rm kiss.elastic.sync sharepoint  # SharePoint

Adding Migrations

When adding new migrations to the project, ensure you have the correct startup project selected. You might encounter the following error message if the incorrect project has been selected:

Startup project 'docker-compose' is a Docker project.
Select an ASP.NET Core Web Application as your startup project and try again.

To resolve this, follow these steps:

  1. In the Solution Explorer, look for the kiss.bff project.
  2. Right-click on kiss.bff and select Set as StartUp Project.

Now, you should be able to add new migrations. The kiss.bff project contains the migrations, and setting this project as your startup project should resolve the above error.

Make sure to switch back to the original startup project configuration after adding the migrations, if required for your development process.

OIDC authentication (Azure AD)

An OIDC identity provider is required to login to the application. If Azure AD is used as the identity provider, the client secret that is used in the connection must be renewed periodically. A redirectloop after login is an indication that the client secret has expired.

To generate a new client secret on Azure AD:

  1. Select App registrations and select your application from the list.
  2. Select Certificates & secrets.
  3. Select Client secrets, and then Select New client secret.
  4. Provide a description and a duration. When finished select Add.
  5. Copy the value of the new client secret to the OIDC_CLIENT_SECRET environment variable in your env.local (OIDC_CLIENT_ID is not affected).

PABC (Platform Autorisatie Beheer Component)

KISS can optionally be connected to PABC for zaaktype-level authorization. When configured, KISS will only show zaken of zaaktypes that the logged-in user is authorized to see based on their functional roles.

See the PABC documentation for configuration and setup instructions.

Reference for ICATT Developers

https://dev.azure.com/icattlegacy/Wiki/_wiki/wikis/Wiki.wiki/214/Ontwikkelen-aan-KISS-en-andere-Common-ground-componenten