Indy UI
- jdk11
- mvn 3.6.2+
- docker 20+
- docker-compose 1.20+
- (Optional) Node 18+
- (Optional) NPM 9+
- (Optional) Visual Studio Code
see src/main/resources/application.yaml for details
There are a few steps to set it up.
- Build (make sure you use jdk11 and mvn 3.6.2+)
$ git clone indy-ui-service
$ cd indy-ui-service
$ mvn clean compile
- Start in debug mode
$ mvn quarkus:dev
All frontend code is hosted in src/main/webui, so you can go into this folder and then use all npm command you are familiar. BTW, there are pre-defined npm script as following:
npm run build
: build the whole frontend applicationnpm run build-dev
: build the whole frontend application in development modenpm run test
: run unit testnpm run server
: build the whole frontend application and start the local mock server with the built bundle. This is used to do local development with a mock REST server for all indy backend services. You can add any mock REST APIs for the frontend code consuming to do debug without to connect to real Indy backend services.npm run lint
: do lint for all frontend code