Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Angular Application that provides a Web UI to use the JDBC API.

License

Notifications You must be signed in to change notification settings

home-planner-group/dynamic-query-ui

Repository files navigation

Dynamic Query UI

This project was generated with Angular CLI version 13.3.0.

The application starts on http://localhost:4200.

Docker Image

  • Dockerfile: Multistage Dockerfile with Nginx
  • Settings: nginx.conf
    • Exposes Port 4200
    • Uses API at Port 8088
  • Pull Image:
    • docker pull ghcr.io/home-planner-group/dynamic-query-ui:latest
  • Run Container:
    • docker run -d -p 4202:4200 --name query-ui ghcr.io/home-planner-group/dynamic-query-ui:latest

Docker Compose

To start the independent application stack of the Dynamic-Query-Service, run docker-compose up with its configuration.

Architecture

    Browser
       |
    Routing
       |
    Components  ----
       |           |
    Services --> Models
       |
    REST API
Explanation

Dev Requirements

Dependencies

GitHub Workflows

Docker Image Delivery Workflow

Angular Commands

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.