Skip to content

Latest commit

 

History

History
61 lines (35 loc) · 1.1 KB

README.md

File metadata and controls

61 lines (35 loc) · 1.1 KB

Rupiah Fraction Calculator

This is a program written using ReactJS to calculate the minimum number of rupiahs needed to make an amount inputted by user

Prerequisites

Make sure you have installed all of the following prerequisites on your development machine:

  • Node.js - Javascript Environment
  • NPM - Node Package Manager

Installing

Clone this package and run

npm install

on the root folder.

Running the application

Run the application using

npm start

doing so will start a webpack-dev-server on localhost:8080 (default)

Running the tests

This application is using jest to test javascript code and Enzyme to test react component

npm run test

to watch

npm run test-watch

Production Build

To bundle all the scripts to /dist folder

Run

npm run build

Authors