CE-RISE Dynamic Web Frontend
An example dynamic web frontend supporting CE-RISE Digital Product Passport use cases, aligned with the CE-RISE solution.
The interface brings product browsing, configurable passport views, RE criteria questionnaires, and environmental dataset editing into one browser application. It provides a starting point for exploring how people find, understand, enter, and use passport information.
The project is distributed as source code. Teams can reuse the screens and interaction patterns, adapt the supplied example API, and connect the interface to their own combination of services. The Interface workflows describe the available interactions.
Relationship to the CE-RISE solution
This is an example aligned with the solution, not a frontend already connected to HEX Core and the released calculation services. The supplied API stores example product records and assessment data in SQLite. Questionnaires and environmental forms use their own application data structures.
Using the interface with live services requires adapters, validation, and deployment-specific authentication, even in a testing environment. Connecting services identifies those integration requirements. A connected application can combine CE-RISE and external components; the example does not prescribe a complete CE-RISE stack.
Explore the documentation
- Interface workflows: product browsing, passport presentation, questionnaires, and environmental dataset preparation.
- Architecture: the client, companion API, storage, and reference data.
- Source setup: prerequisites, Keycloak configuration, installation, and source commands.
- Connecting services: adapting the example to live records, validation, calculation services, and access controls.
- Sources and contributors: frontend authorship and the PEF/SEE and RE work represented by the interface.
Funded by the European Union under Grant Agreement No. 101092281 — CE-RISE.
Views and opinions expressed are those of the author(s) only and do not necessarily reflect those of the European Union or the granting authority (HADEA).
Neither the European Union nor the granting authority can be held responsible for them.
© 2026 CE-RISE consortium.
Licensed under the European Union Public Licence v1.2 (EUPL-1.2).
Attribution: CE-RISE project (Grant Agreement No. 101092281) and the individual authors/partners as indicated.
Developed within the CE-RISE project by Christoffer Stoll (NILU), Miguel Las Heras Hernández (NILU), Francesco Barilli (Empa), and Riccardo Boero (NILU).
Interface workflows
The example brings several passport-related tasks into a single interface. The screens can be reused or adapted independently of the example storage and calculation code.
The screenshots show demonstration records and interface states, not a live CE-RISE service integration.
Browse and maintain products
The product catalogue supports text search, product-group selection, and filters based on the displayed RE scores. Open a product to inspect its passport information and assessment tabs.

Product browsing and filtering with synthetic example records.
The product form creates a record and edits its basic information, including identification, product group, manufacturer, dimensions, weight, and material composition. Changing the product group changes the questionnaires assigned to the record.
The supplied catalogue is generated from synthetic data. Seeded products are shared examples; their basic records cannot be edited or deleted through the product form. User-created records are distinguished by the user identifier received by the example API. The authentication requirements for shared use are described in Connecting services.
The QR scanner reads a passport identifier. The identifier landing page displays that identifier; resolving it to a passport in an external system requires a connector.
Configure passport views
The Details tab combines built-in sections and configurable sections. A configurable section can contain individual fields, lists of fields, predefined widgets, and custom charts. Sections can be named, ordered, and hidden to suit the information needs of a particular audience.

Passport information grouped into instructions, maintenance, and usage sections.
Custom charts use the available field definitions and product values. They support grouping list entries, counting or summing suitable values, and comparing scalar values. The interface also provides widgets for material composition, maintenance, compliance information, circularity, RE scores, and environmental figures.
View configuration is stored in the browser’s local storage. Its JSON import/export transfers the layout, not the product database or a validated CE-RISE passport record. Export the layout to reuse it in another browser or evaluation session.
Complete RE criteria questionnaires
The R-Strategy Indicators tab presents the questionnaires associated with the selected product group. Users can enter answers, save drafts, and complete an assessment. The example API calculates and stores a score from those answers and the loaded weights.

Example repairability questionnaire showing parameter navigation and answer options.
The catalogue and questionnaire views distinguish input and computation statuses. The example displays scores on a 0-10 scale; the stored score uses a 0-1 scale. These views illustrate questionnaire navigation, progress feedback, and result presentation.
The conceptual and methodological source is the CE-RISE RE Indicators Specification, whose contributors are acknowledged in Sources and contributors. The example scoring code does not invoke the released RE Indicators Calculation Service.
Prepare environmental datasets
The Environmental Impacts tab provides four steps:
- Dataset: enter the dataset title and identifiers.
- Activities: describe activities, input and output flows, quantities, units, locations, and background sources.
- Goal & scope: describe the study purpose, functional unit, and system boundary.
- Review & export: inspect the editor’s issues and example figures, export the dataset, and save its status.

Environmental dataset review with activity flows and an illustrative partial climate result.
The editor can prefill an initial activity and material flows from the product record. Review the quantities, units, locations, and activity structure: prefilling does not establish a complete inventory.
Inputs can be connected to an activity output, a selected BONSAI reference, or a compatible supplier dataset. A supplier can be another product’s ready dataset or an uploaded Turtle/JSON-LD file in the supported inventory structure. Connected supplier activities are copied as a snapshot rather than queried from a live supplier system.
The example reports BONSAI background GWP100 contributions and direct elementary-flow contributions using EF 3.1 climate-change factors as separate figures. It does not combine them into a complete footprint or call the released SEE Impacts Calculation Service. Other impact categories in the scope form describe the study, not additional calculated results.
Turtle and JSON-LD exports use the environmental editor’s ontology-based structure. Connecting them to CE-RISE Product System, LCI Dataset, and Integrated LCA records requires explicit transformation and validation, as described in Connecting services.
Architecture
The application has a browser client, a companion API, and a database seeder. These provide an independent interface example; they are not a deployment of the CE-RISE service architecture.
Components
| Component | Location | Responsibility |
|---|---|---|
| Vue client | client/ | Navigation, product forms, passport views, questionnaires, charts, and environmental dataset editing |
| Hono API | api/ | Product access, example scoring, reference-data queries, and assessment storage |
| SQLite database | api/data/products.db for source execution | Product records, field definitions, questionnaires, answers, environmental datasets, and reference data |
| Database seeder | db-seed/ | Create the database, load reference definitions, and generate synthetic products |
The browser sends relative /api/... requests through useFetcher. During source development, Vite proxies these requests to port 5000.
Data and persistence
The example has three distinct sources of definitions:
- Passport fields: the JSON files in
db-seed/models/define the UI’s sections, groups, and fields. They are local presentation definitions, not generated CE-RISE validation schemas. - RE questionnaires:
fetchReIndicators.jsretrieves the published calculation definitions and supporting indicator files when the database is seeded. - Environmental references:
db-seed/see-reference/contains the ontology options, study options, BONSAI catalogue, elementary-flow index, and climate factors used by the editor.
The API stores products and assessments in SQLite. Dashboard layout is separate and stored in browser local storage. Copying a layout therefore does not copy its underlying products or assessment records.
The seeder replaces the database tables. Its RE sources are fetched from published Pages and the source branch rather than a pinned model release. Refreshing the database can change questionnaires; saved assessments do not record a complete source-model version history.
API responsibilities
| Route family | Role |
|---|---|
/api/products | Product listing, import, creation, editing, and deletion |
/api/products/:id/recalculators | Available questionnaires and stored RE assessment summaries |
/api/products/:id/recalculators/:indicator | Questionnaire content, draft answers, and example scoring |
/api/products/:id/see | Load and save the environmental editor’s dataset |
/api/products/:id/see/prefill | Construct a starting dataset from the product record |
/api/dpp-schema | UI field definitions |
/api/re-indicators | Loaded RE configurations |
/api/see | Environmental options and searchable reference data |
The API contract is specific to this interface. Replacing its base URL with a HEX Core URL is not sufficient: requests, records, validation, and returned results need an adapter or a revised API implementation.
Authentication boundary
The client uses Keycloak for browser sign-in and sends its bearer token to the API. The API reads the token’s user identifier without verifying its signature, issuer, audience, or expiry. Its ownership filters are therefore not a security boundary.
Seeded products are shared, and their assessment data can be changed through the example API. A connected application needs explicit permissions for reading and changing records, including shared examples. See Connecting services before exposing an instance to other users.
Source setup
These instructions describe running the example from its source code. They do not connect it to live CE-RISE services. Use disposable data and an isolated evaluation environment: the companion API does not verify bearer tokens.
Prerequisites
- Node.js 22.13 or newer within the 22.x series, and npm 10 or newer, matching the requirements in the package lockfiles.
- A Keycloak instance and a public browser client configured for the origin used to access the interface.
- Network access to the package registry for installation and to the published CE-RISE RE definitions when seeding the database.
The SQLite dependency uses a native addon. Systems without a matching prebuilt binary also need the toolchain required to build it.
Configure Keycloak
The application reads these Vite settings from client/.env.local:
| Setting | Value to supply |
|---|---|
VITE_KEYCLOAK_URL | Your Keycloak server’s base URL |
VITE_KEYCLOAK_REALM | The realm containing your browser client and users |
VITE_KEYCLOAK_CLIENT_ID | The public browser client’s identifier |
Configure the client’s allowed redirect URIs and web origins to match the address used in the browser. localhost, 127.0.0.1, and a LAN address are different origins. This repository does not supply NILU’s realm, client configuration, or accounts.
Vite settings are incorporated into the frontend build. Changing environment variables after building does not reconfigure an already-built frontend. These browser settings must not contain a client secret or other credentials. Refer to the Keycloak JavaScript adapter and Vite environment documentation for their configuration rules.
The copied authentication guard preserves the requested path but not its query parameters during login. Retaining a product/tab deep link across sign-in requires the matching route-handling adjustment.
Install dependencies
From the repository root:
npm --prefix client ci
npm --prefix api ci
npm --prefix db-seed ci
Generate the example database
npm --prefix db-seed run seed
The seeder writes api/data/products.db, loads the supplied field definitions and environmental references, retrieves the RE definitions, and generates synthetic products. It does not retrieve product records from NILU or another live passport system.
Seeding replaces the database tables and their contents. Stop the example API before reseeding, and do not run the seeder against data that must be retained.
Start the source processes
Restrict access to API port 5000 before starting the example. Keycloak login in the browser does not secure the API, and the supplied API does not restrict its listener to loopback.
In one terminal, from the repository root:
npm --prefix api run dev
In another terminal:
npm --prefix client run dev -- --host 127.0.0.1
Use the local URL reported by Vite, normally http://127.0.0.1:5173/. This frontend binding is not reachable through a LAN address. Network access requires deliberate listener, origin, proxy, and API access-control configuration; it is not enabled by these instructions.
Build and check the source
The build commands are:
npm --prefix api run build
npm --prefix client run build
The existing checks can be run from the repository root after installation and seeding:
node client/src/views/products/tabs/widgets/selfcheck.js
node client/src/views/products/tabs/see/selfcheck.js
node api/src/lib/selfcheck.js
They exercise chart aggregation, environmental dataset calculations and exchange, product operations, and reference-data access. The API checks use and modify the example database, so run them only with disposable data. These checks do not establish equivalence with the released calculation services or validate a live deployment.
The Codeberg Source checks workflow runs these same checks on pushes and pull requests, and can also be triggered manually. It uses a codeberg-small runner with Node.js 22, installs only the API and seeder dependencies, and creates a fresh synthetic database in the job workspace. Seeding reads the published RE definitions; the checks do not start the application or contact a running passport or calculation service.
Connecting services
The interface can be adapted to a live CE-RISE solution, a mixed CE-RISE/external application, or another passport backend. Integration requires matching data and service contracts, not simply changing a server address. The same requirements apply to a shared testing environment.
Product records and passport views
The example API constructs product responses from SQLite rows and local presentation definitions. Its dpp sections are not records validated against the published CE-RISE models.
For a connected application, select the source records and model versions, define how they populate the UI fields, and implement reading and writing through the chosen backend. Keep record identifiers, versions, ownership, and source provenance distinct from display labels and browser layout preferences.
HEX Core can provide validation and record access where it is part of the selected solution. Other compatible services can be used instead. Neither the frontend nor its example API contains that connector.
RE criteria and calculations
The R-Strategy Indicators forms implement the CE-RISE questionnaire concepts using definitions loaded by the seeder. Their answer objects and locally calculated scores follow this example API’s contract, not the released service’s request and response contract.
When using the RE Indicators Calculation Service, translate the form answers into the supported input structure, use the intended specification version, and map the returned results and diagnostics into the interface. Compare the example’s score handling with the selected service before treating the two as equivalent.
Environmental inventories and results
The environmental editor provides activity and flow forms, background-reference selection, supplier snapshots, and study metadata. Its Turtle/JSON-LD exchange uses its own ontology-based representation; it does not directly produce the validated inputs or outputs of the released calculator.
Integration with the SEE Impacts Calculation Service needs these explicit contracts:
| Information in the interface | Integration requirement |
|---|---|
| Activities, flows, quantities, and units | Construct and validate an LCI Dataset record |
| Activity connections, reference output, and functional unit | Construct and validate a Product System record and the calculation request |
| Selected background references | Resolve identifiers and units against the calculator’s configured background rather than assuming the editor’s catalogue matches it |
| Results and calculation diagnostics | Consume the service response and present the returned Integrated LCA record or diagnostic |
| Method and data provenance | Retain the method, software, background, source, and version information supplied with the records and results |
The example’s two climate-change figures are local calculations. They are not a substitute for the released calculator’s full result object. A connected interface should display service results and their metadata explicitly rather than relabel those local figures as service outputs.
Authentication and access
Retaining Keycloak browser login is compatible with using different backends, but each exposed API or gateway must validate access independently. The copied API’s unverified user-identifier extraction must not be used as the basis for protecting records in a shared environment.
A deployment needs token verification, including signature, issuer, audience, and expiry, together with permissions for product records and assessments. It also needs matching browser origins, callback URLs, HTTPS and proxy settings, and a decision about who can change shared example products’ assessments.
Validate the connected workflows
Check record read/write and validation, questionnaire-to-request transformations, inventory identifiers and units, returned results, and error presentation against the selected services and model versions. Include tests for expired or invalid credentials and attempts to access another user’s records.
The copied checks exercise the independent example. Connected workflow tests need to be defined for the actual deployment; they are not supplied by changing configuration alone.
Sources and contributors
Frontend authors
The software authors, in citation order, are:
- Christoffer Stoll, NILU.
- Miguel Las Heras Hernández, NILU.
- Francesco Barilli, Empa.
- Riccardo Boero, NILU.
The environmental dataset editor incorporates code developed by Francesco Barilli and adapted into this frontend. This software contribution is distinct from the wider conceptual and methodological assessment work acknowledged below.
PEF and environmental assessment work
The PEF-related interface and example calculations build on the CE-RISE PEF/SEE work of Riccardo Boero (NILU), Berend Mintjes and Stefano Merciai (Leiden University), and Francesco Barilli and Roland Hischier (Empa).
The SEE Impacts Calculation Service is a separate software component. Its citation metadata record the contributors to that service. Crediting this work does not imply that the frontend invokes the service or reproduces all its results.
RE criteria and calculation work
The questionnaires and example RE score handling implement concepts from the CE-RISE RE Indicators Specification. Its citation metadata credit Riccardo Boero (NILU), Joana F. Morgado, Setenay Saglam, and Smriti Anand Jha (Empa).
The example fetches the published questionnaire and calculation definitions during database seeding. Its API computes scores locally; it does not call the separate RE Indicators Calculation Service.
Data and presentation definitions
The bundled environmental references include a BONSAI catalogue, elementary flows, study options, and EF 3.1 climate factors. Their source URLs, retrieval details, and available source identifiers are recorded in db-seed/see-reference/PROVENANCE.json, with further metadata in the reference files. Retain that provenance when redistributing or updating the references, and consult the originating distributions for their data terms.
The files in db-seed/models/ are UI presentation definitions linked to CE-RISE model topics. They are not the published validation artifacts. The CE-RISE model repositories provide the source models and their own contributor and citation information.
Synthetic products and illustrative compositions are generated for interface evaluation. They are not measured product inventories or supplier declarations.