The project involves creating a small JavaScript project with NodeJS to retrieve the current Bitcoin price via the command line. For this, I use the Coinbase API to obtain the Bitcoin price in multiple currencies.
git clone --branch v1.0.0 --single-branch https://github.com/SebastienCozeDev/bitcoin-price
There are several ways to run the program:
node btc.js <currency>nodemon btc.js <currency>npm run dev <currency>./btc.js <currency>USDEURGBP