Skip to content

Latest commit

 

History

History

web_app_js

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

KotUniL - Kotlin Web (JavaScript/HTML) Demo Application

This demo demonstrate the use of KotUniL library in some web application developed with Kotlin and tests all available in library objects and functions.

KotUniL covers all units of International System of Units (SI)
like meter, second etc. (see Wikipedia) as well as SI- Prefixes (micro, nano etc.) and some other common units like currencies, percentages etc.

You can learn about functions and objects of KotUniL library in central si-units/README.md. You can learn examples of using the library in TutorialTest.js. and other tests from directory javascript/tests.

## How to install application

NPM (Node Package Manager should be installed on your computer)

In IDE IntelliJ

In tab Gradle double click on si-units->apps->web_app_js->other->npmInstall

In Terminal/console

Move to directory web_app_js.

Start command: npm i

How to start Web application

You can start the application directly in your IDE (e.g. IntelliJ) by open in editor the file resources/index.html and by click on icon of your favorite browser please start it.

On success the application will show in browser the text:

Kotunil/JS Test Page

Test Statistics:

Number KotUniL's tested objects: 61

Number tests (checks): 1413

How to properly write KotUniL's formulas

KotUniL is a multiplatform library. You can read about how to properly write physics and other formulas using the objects and functions of the KotUniL library in document "Rules for writing KotUniL formulas in different programming languages".