This component contains the web interface for the project. The interface is created with Typescript React and uses the Ant Design UI package for most of its UI components.
The architecture of the application is made up of the following main components:
There are two ways to run the interface:
npm install and then npm start to build locallydocker-compose up in the current folderAll dependencies are included in the (react/package.json) and (react/package-lock.json) files and can be installed with npm install
The project contains two testing stages, unit testing and integration testing. Tests should be run through docker compose, as they may rely on other services which are handled in the compose file. The stages can be run as follows:
docker-compose -f compose/docker-compose_test_unit.ymldocker-compose -f compose/docker-compose_test_integration.ymlThe project is linted using ESLint in combination with Prettier. The config files react/.eslintrc.json and react/prettierrc.json contain the set preferences.
Content type
Image
Digest
Size
381.7 MB
Last updated
over 5 years ago
docker pull tracktech/interface