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

fhstp/highlighter-webapp

Repository files navigation

Warning This project is no longer actively maintained. You can still (re)use it under its MIT license but be aware that the underlying npm packages are outdated and might pose security risks.

HighLighter Web App

Buying a product or signing up for a service implicates a contract between the consumer and the merchant or provider. The average web user is often worried about the possible consequences from such a contract. They are worried in particular when they interact with a new web shop or when the general terms and conditions are updated. However, each contract involves a multitude of legal text that is hard to read and understand.

ContractVis HighLighter provides sophisticated text visualization support for online shopping, yet targets non-professional users in a casual context without training.

ContractVis HighLighter consists of three components:

License: MIT

Software Frameworks Used

This project was generated with Angular CLI and includes some other features. A short list of included features is given here:

Installation and Local Development

Download the repo or clone it to your workspace. Then navigate to the folder which includes the package.json and run the command npm install. This will install all dependencies needed in order to develop or build this application.

Development server

  1. Run ng serve for a dev server.
  2. Navigate to http://localhost:4200/.
  3. The app 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

  1. Run ng build to build the project.
  2. The build artifacts will be stored in the dist/ directory.
  3. Use the --prod flag for a production build that will minify, uglify and further optimize all files in order to make the application even faster.

Testing (if implemented)

  • Run ng test to execute the unit tests via Karma.
  • Run ng e2e to execute the end-to-end tests via Protractor.

Acknowledgments

This work is supported by the Internet Foundation Austria (IPA) via the netidee project ContractVis (no. 2116).