An open API service indexing awesome lists of open source software.

https://github.com/guacsec/trustify-ui

Trustify UI component.
https://github.com/guacsec/trustify-ui

Last synced: 11 months ago
JSON representation

Trustify UI component.

Awesome Lists containing this project

README

          

# Trustify-ui

[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/guacsec/trustify-ui/pulls)

Trustify UI Component

# Build and Test Status

| branch | last merge CI | last merge image build | nightly CI |
| :----- | :------------ | :--------------------- | :--------- |
| main | [![CI (repo level)](https://github.com/guacsec/trustify-ui/actions/workflows/ci-repo.yaml/badge.svg?branch=main&event=push)](https://github.com/guacsec/trustify-ui/actions/workflows/ci-repo.yaml?query=branch%3Amain+event%3Apush) | [![Multiple Architecture Image Build](https://github.com/guacsec/trustify-ui/actions/workflows/image-build.yaml/badge.svg?branch=main&event=push)](https://github.com/guacsec/trustify-ui/actions/workflows/image-build.yaml?query=branch%3Amain+event%3Apush) | [![Nightly CI (repo level @main)](https://github.com/guacsec/trustify-ui/actions/workflows/nightly-ci-repo.yaml/badge.svg?branch=main&event=schedule)](https://github.com/guacsec/trustify-ui/actions/workflows/nightly-ci-repo.yaml?query=branch%3Amain+event%3Aschedule) |

| branch | last merge e2e CI | nightly e2e CI |
| :----- | :---------------- | :------------- |
| main | [![CI (e2e Trustify CI)](https://github.com/guacsec/trustify-ui/actions/workflows/ci-e2e.yaml/badge.svg?branch=main&event=push)](https://github.com/guacsec/trustify-ui/actions/workflows/ci-e2e.yaml?query=branch%3Amain+event%3Apush) | [![Nightly CI (e2e trustify CI @main)](https://github.com/guacsec/trustify-ui/actions/workflows/nightly-ci-e2e.yaml/badge.svg?branch=main&event=schedule)](https://github.com/guacsec/trustify-ui/actions/workflows/nightly-ci-e2e.yaml?query=branch%3Amain+event%3Aschedule) |

## Development

### Requisites

[NodeJS](https://nodejs.org) >= 22. Use [nvm](https://nodejs.org/en/download) to install NodeJS

```shell
nvm install 22
nvm use 22
```

- Backend. Clone [trustify](https://github.com/guacsec/trustify) and there execute:

```shell
cargo run --bin trustd
```

It will start the backend in http://localhost:8080

### Install dependencies

```shell
npm ci
```

### Init the dev server

```shell
npm run start:dev
```

Open browser at

## Environment variables

| ENV VAR | Description | Default value |
| ------------------- | ----------------------------- | --------------------------------------- |
| TRUSTIFY_API_URL | Set Trustification API URL | `http://localhost:8080` |
| AUTH_REQUIRED | Enable/Disable authentication | true |
| OIDC_CLIENT_ID | Set Oidc Client | frontend |
| OIDC_SERVER_URL | Set Oidc Server URL | `http://localhost:8090/realms/trustify` |
| OIDC_SCOPE | Set Oidc Scope | openid |

## Crate

> [!NOTE]
> When using the crate it is expected to build the UI always in Prod mode

## Contributing

We welcome contributions! Please read our [Contributing Guidelines](CONTRIBUTING.md) before submitting changes.