# Taler Demobank UI

Web-based user interface for the libeufin demobank.

## CLI Commands

- `./dev.mjs` development setup. Will listen in :8080 and reload every time a file is save.
- `./build.mjs` build for production.
- `./test.mjs` build and run unit test

## Testing

By default, the demobank-ui will expect the backend to be in `window.origin` but that can be overriden using the `settings.json` file or by session in the localStorage.

```
localStorage.setItem("bank-base-url", OTHER_URL);
```

## Customizing Per-Deployment Settings

To customize per-deployment settings, make sure that the
`settings.json` file is served alongside the UI.

For more information about the values check the file `settings.ts` in the src folder.
