The Paremus UI Javascript client

A skeleton Javascript UI for use with com.paremus.ui Components

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

com.paremus.ui
ArtifactId

ArtifactId

js_client
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

tar.gz
Description

Description

The Paremus UI Javascript client
A skeleton Javascript UI for use with com.paremus.ui Components
Project URL

Project URL

https://github.com/paremus/js_client
Source Code Management

Source Code Management

https://github.com/paremus/js_client

Download js_client

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

The Paremus JS Client Repository

This repository contains a skeleton Javascript UI that works with the REST server implemented by com.paremus.ui. It is based on the react-admin framework: https://marmelab.com/react-admin/.

How to build this repository

This repository can be built using yarn and node 12+.

It also contains a Maven pom.xml, so that the UI build output can be deployed to a Maven repository as artefact js_client-1.0.0-build.tar.gz where it can be served by the UI server.

Toolchain installation

yarn and node can be installed using nvm: https://github.com/nvm-sh/nvm

$ nvm install 12
$ npm install --global yarn

Production build

yarn install
yarn build

This creates a production build (in ./build).

Development build

yarn install
yarn dev
^C

This creates a watched development build (in ./build-dev). Terminate it with ^C.

Live testing

The Paremus UI server can serve the live development js_client (instead of the deployed production artefact), by setting the following property in com.paremus.ui.rest.app/app.bndrun to reference the build-dev directory in this project:

-Dcom.paremus.ui.client.dir=${.}/../../js-client/build-dev

end

com.paremus.ui

Paremus

Versions

Version
1.0.0