Skip to content

converter-cli with better login experience - you no longer have to enter username and pw every time you show logs

Notifications You must be signed in to change notification settings

mxpaspa/converter-cli-refactored

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

converter-cli

A CLI application that makes real-time currency conversions

Installation using 📦 npm

1. Install Node.js HERE.

2. Open your terminal.

3. Type: npm install -g converter-cli.

4. Wait for NPM to install the package on your computer.

5. You can now access the converter-cli help doc from anywhere in your terminal by entering:

converter help

5. You can also view the current version from anywhere in your terminal by entering:

converter version

Usage

1. Create a user:

converter create-user <username> <password>

2. Login and enter your credentials:

converter login

3. Once you are authenticated, run your first conversion:

convert <home currency> <exchange currency> <amount>

For example:

convert USD EUR 10

4. Retrieve your conversion history, which will present the last 5 conversions executed (you must be authenticated).

logs

5. In application help:

help

6. List available symbols:

symbols

supportedCurrencies.json

Available Currencies

See supportedCurrencies.json file.

Third Party Technologies Used:

  • mlab.com provided a cloud instance of MongoDB.
  • fixer.io provided real-time currency conversions.

About

converter-cli with better login experience - you no longer have to enter username and pw every time you show logs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published