Testcenter Frontend
Diese Angular-Programmierung ist die clientseitige Web-Anwendung für das Online-Testen des IQB. Über diesen Weg wird die Programmierung allen Interessierten zur Verfügung gestellt. Eine Anleitung zum Installieren und Konfigurieren wird schrittweise an dieser Stelle folgen.
This is the frontend of the IQB Testcenter application. It's written in Typescript using Angular 9.
You can find the backend here.
The repository for a complete setup of the application can be found here.
Documentation
- User's Manual
- List of replacable CustomText-Strings (l8n-like)
- List of Group-Monitor's Superstates
- List of Test-Modes
- List if Booklet Conifg Parameters
- Compodoc Documentation of Modules, Classes etc.
Installation
With Docker (recommended)
All the necessary commands for running the application and starting the tests can be found in the Makefile on the root directory.
Prepare config
make init-dev-config
Start and Stop the server
make run
make stop
The 2 types of tests can also be run separately.
For those to work the containers have to be running.
make test-unit
make test-e2e
For local development you can copy the packages from the container to a local directory. Use the following command for this:
For this to work the container has to have been created (not necessarily running).
make copy-packages
To install new packages use:
make install-packages packages="<package-name> [<package-name> ...]"
If you leave out the argument all packages defined in package.json will be installed.
make install-packages
Manual Compilation
Prerequisites
- node 12+
Compilation Steps
npm install
ng build --prod
Find the compiled app in src folder and open in Browser or serve with ng serve
.
Development
Coding Standards
We are using ESLint with the base or airbnb with our own rules on top.
Bug Reports
File bug reports, feature requests etc. here.