EduPLEx_API
InfoPrototypeAll docs
Skill Assessment Builder
Skill Assessment Builder
  • Abstract
  • Technical documentation
    • Module Occupation Matching
    • Skill Assessment tracking with LRS
Powered by GitBook
On this page
  • ASSESSMENT frontend
  • General info
  • Build Setup
  • Customize configuration
  • License
  1. Technical documentation

Module Occupation Matching

PreviousAbstractNextSkill Assessment tracking with LRS

Last updated 4 months ago

ASSESSMENT frontend

Competency analysis tool (KYC)

General info

Global dependencies:

  • Docker and Use docker images or run with node.js natively

  • Recommended to install using and running nvm install

  • (package manager used instead of npm)

  • git as version control system using instead of merge.

  • The backend API will be available in the repository

Frameworks:

  • main javascript framework

  • UI framework with handy components

  • As programming language

Environment variables:

  • VUE_APP_API Location for the API service

  • VUE_APP_SUBPATH Subdomain where the app is going to be served

  • VUE_APP_PLATFORM To be used as platform identifier (currently not used)

  • VUE_APP_TARGET_PROXY Real domain to connect to the backend API after proxy forward

  • DATE_IMG_TAG Version number

Platform customizations:

  • Configuration endpoint /api/v2/configs/mom_front should return from database a list of entries to allow platform configuration

  • Custom themes can be added in the config endpoint using the key color_theme, adding the files to /pluings/themes/<lightTheme>.ts and importing them into const themesIndex from /pluings/themes/index.ts

  • Custom translations can be added in the config endpoint using the key custom_locale and adding the files to /pluings/i18n/<lang>-<platform>.ts

Build Setup

Useful notes when running development built:

  • API requests are been sent via a proxy forward defined with VUE_APP_TARGET_PROXY to avoid CORS issues.

  • Login action in production is different that in development

  • Logout action is not implemented in development (in order to logout, cookies have to be removed manually)

  • Related links are going to work different (while in development they are going to look like localhost:8080, when deployed to production those relative links are going to change to the real production domain)

With Docker:

When working with docker-compose.yml it is important to change the environment variable VUE_APP_TARGET_PROXY to the correct domain where the API endpoints are available.

You can access the login page by default going to http://localhost:8080/assess/en/login where assess is defined with environment variable VUE_APP_SUBPATH.

Without Docker:

Alternatively you can work without docker with the following commands:

Install dependencies:

yarn install

Build and hot-reload for development:

yarn dev

Build and minify for production:

yarn build

Lint:

yarn lint

Customize configuration

License

The source code for the site is licensed under the MIT license, which you can find in the LICENSE file included in this repository.

file is ready to use, just run docker-compose -f ./docker-compose.yml up -d.

See .

docker-compose
Node.js
NVM
yarn
rebase
MOM assessment backend
VueJS
Vuetify
TypeScript
Docker compose
Configuration Reference