Skip to content

bfh/pgbomega-frontend-angular

Repository files navigation

PgbomegaFrontendAngular

This proof-of-concept application was generated with Angular CLI version 14.1.0.

Architecture

The standalone (serverless) web application prototype runs in a browser since no data is persisted by design. The Angular application uses the NgRx reactive state framework to manage state and events. The global state management classes are defined in the store/form/FormStateModule module. The text resources are not localized but this could be easily accomplished using any i18n library such as https://github.com/ngx-translate/core. Being a proof-of-concept, part of the functionality has been prototyped in the simplest way as, for instance, the generation of the XML documents to export the metadata. The main goal of this prototype is to validate the generated XML documents against the supported repositories. The XML generation can be easily implemented using an XML builder once the concept has been validated.

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.

Deployment

At the moment, the web application is deployed on a virtual environment hosted by Infomaniak on every commit pushed to the BFH Gitlab repository. The public URL for the web app is https://omega.jcloud.ik-server.com.

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published