Console application in nodejs using inquirer, mocha, typescript and axios.
yarn
to install all dependencies
yarn
After you have installed all dependencies you can run the app with:
yarn start
You can run unit tests with:
yarn run test
Unit tests are written using Mocha. Please run this if you dont have Mocha installed globally.
npm add -g mocha
I have mocked api response using a random number generator.