Skip to content

pedromalvestio/trariff-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tariff calculator

To run this application you will need the node.js installed;

After clone the repo run the follow command to install the node dependencies:

npm install

With the dependencies installed run the server with the following command:

npm start

To run the implemented tests use the following command:

npm test

The solution run on port 3001 and have only one endpoint: (you can use your browser to make a GET request for this endpoint)

http://localhost:3001/tariff/:consumption :consumption = number value to be calculated

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published