A collection of beginner-friendly Node.js CLI projects that helped me understand core concepts like asynchronous programming, API calls, user input handling, file operations, and more.
All apps run directly in the terminal using Node.js and readline interface.
A simple command-line To-Do manager that allows users to:
- Add a task
- View all tasks
- Exit program
📌 Concepts Used: Arrays, readline input, basic CLI navigation
Fetches and displays real-time weather information using OpenWeather API.
- User enters a city name
- Shows temperature, humidity, wind speed, and description
📌 Concepts Used:fetch()API call, async/await, JSON parsing
Fetches a random joke from a public Joke API and displays it in the console. 📌 Concepts Used: External API requests, Promises, async functions
Real-time currency conversion using a live exchange rate API.
- Convert from one currency to another
- Displays converted value
📌 Concepts Used: Fetching API data, mathematical operations in JavaScript
Creates a new .txt file directly from the terminal based on user input.
- Input the file name
- Input content → saved to file
📌 Concepts Used: Nodefsmodule (writeFile), readline sync
| Technology | Usage |
|---|---|
| Node.js | Runtime environment for all apps |
| Readline API | CLI User Input |
| Fetch / HTTP Requests | API calls |
| JavaScript ES Modules | Modern syntax |
| File System Module | File creation (specific project) |
Make sure Node.js is installed:
node -v