This repository contains the frontend code of TEQST
npm install -g @ionic/cli
npm i -D -E @angular/cli
npm install
Example for src/proxy.config.json:
{
"/api/*": {
"target": "http://127.0.0.1:8000",
"secure": true,
"logLevel": "debug",
"changeOrigin": true
}
}
Example for src/app/constants.ts:
export class Constants {
public static SERVER_URL = '';
public static REQUEST_TIMEOUT = 30000;
public static DISABLE_NO_INTERNET_ALERT = false;
}
Run a development server at http://localhost:8100
ionic serve
ionic serve --external
The IP-address to connect to will be written in the terminal output as "External: IP"
ionic build --prod
The output html files will be written to TEQST_Frontend/www
Copy them onto a webserver to provide the frontend to users.
The developer guide contains more information for Frontend Development of TEQST.