@lukechavers/unit-conversion

My solution to the Flexion Coding Challenge (v3.2)

Usage no npm install needed!

<script type="module">
  import lukechaversUnitConversion from 'https://cdn.skypack.dev/@lukechavers/unit-conversion';
</script>

README

flexion-coding-challenge

My solution to the Flexion Coding Challenge (v3.2)

Prerequisites

In order to run this application, you'll need a relatively recent version of Node.js and NPM. This application was developed against the following versions:

$ node -v
v8.12.0

$ npm -v
6.4.1

Quick Start

The easiest way to launch the app is via npx, which ships with npm.

$ npx @lukechavers/unit-conversion

Installation

If you'd like to install the application on your system, there are two ways to go about it. Use the npm method if you'd just like to run or use the app or the git method if you'd like to develop or view the full project source code.

Using NPM

$ npm install -g @lukechavers/unit-conversion
$ unit-conversion

Using Git

$ git clone git@github.com:vmadman/flexion-coding-challenge.git
$ cd flexion-coding-challenge
$ npm install
$ npm start

Todo

  1. Add additional units of measure
  2. Add a lot more unit tests for unit conversions.
  3. Add test coverage analysis and strive for 100% coverage.
  4. Move solution calculation logic out of ConsoleController and into dedicated utility classes.
  5. Add support for saving and loading worksheets for scoring the same worksheet for multiple students in rapid succession.