This is a vue-cli 3.0 based Vue.js application which renders the calculator UI as shown below:
The service is composed of 'home', 'calculator' and 'history' views. It uses Axios library to do all the API calls to the kubernetes cluster. It uses a sound architecture with separate components and services for different aspects of the interface. The 'history' view shows a list of recent operations done over the calculator application by fetching them from the 'Bootstorage' service located inside the cluster.
npm install
npm run serve
npm run build
npm run test
npm run lint
Build the image using following command:
docker build -t vuecalc .
Run the image locally using following command:
docker run -p 80:2000 vuecalc