After mastering JavaScript fundamentals, I built this terminal-based Node.js project to solidify my concepts and gain hands-on experience with the Node.js framework.
A Node.js command-line application for tracking cryptocurrency prices and managing a watchlist of your favorite coins.
- 🔍 Search Coins: Find cryptocurrencies by name or symbol
- 📊 Real-time Data: Fetch current prices and market data
- 📋 Watchlist: Add coins to your personal watchlist
- 💾 Persistent Storage: Save your favorite coins between sessions
- 📈 Price History: View 7-day price trends
- 🔄 Data Refresh: Update prices on demand
- Clone this repository:
- Install dependencies:
- Run the application:
The application provides a simple menu-driven interface:
- Search Coin: Search for cryptocurrencies by name or symbol
- Add to Watchlist: Add a coin to your watchlist using its ID (e.g., bitcoin, ethereum)
- View Watchlist: Display all coins in your watchlist with current prices
- Remove from Watchlist: Remove a coin from your watchlist
- View Coin Details: See detailed information and price history for a coin
- Refresh Data: Update price data for all coins in your watchlist
- Exit: Close the application
This application uses the CoinGecko API to fetch cryptocurrency data. No API key is required for basic usage.
(I Appologize for the structure. I personally am a Flutter Mobile Developer and this was my very first progect using JS and NodeJS, which are actually web and backend frameworks respectively)
final-project-crypto-tracker/
├── configuration/
- └── env-variables.js
├── core/
- └── coin-tracking-logic.js
├── data/
-
└── init-apis.js
-
└── coin-model.js
├── utils/
-
└── fav-coin-handler.js
-
└── logger.js
-
└── time-formatter.js
-
└── utils.js
├── view/
- └── user-main-menu.js
├── fav_coins.json
├── main.js
└── README.md
- Node.js (v14 or higher recommended)
- No external packages required - uses only built-in Node.js modules