Skip to content

Repository files navigation

🌟 Node.js Mini Projects Collection

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.


📁 Projects Included

1️⃣ To-Do CLI App

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

2️⃣ Weather App 🌦️

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

3️⃣ Random Joke Generator 😆

Fetches a random joke from a public Joke API and displays it in the console. 📌 Concepts Used: External API requests, Promises, async functions


4️⃣ Currency Converter 💱

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

5️⃣ File Creation CLI App 📄

Creates a new .txt file directly from the terminal based on user input.

  • Input the file name
  • Input content → saved to file
    📌 Concepts Used: Node fs module (writeFile), readline sync

🚀 Tech Stack

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)

🛠️ Setup & Run

Make sure Node.js is installed:

node -v

About

A collection of beginner-friendly Node.js CLI mini projects demonstrating core concepts like user input handling, API requests, and file operations.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages