Skip to content

godhaniyaarbham2000-spec/NodeJS-CLI-Project-To-Do-List-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📝 To-Do List CLI (Node.js Project)

A simple command-line based To-Do List application built using Node.js.
This project allows users to add tasks, view tasks, and manage a basic task list directly from the terminal.


🚀 Features

  • Add new tasks via CLI
  • View all added tasks
  • Interactive menu-driven system
  • Simple and beginner-friendly Node.js project
  • Fast and lightweight CLI application

🛠️ Tech Stack

  • Node.js
  • JavaScript (ES Modules)
  • Readline module (for CLI input handling)

📂 Project Structure

NodeJS-CLI-Project-To-Do-List/
│── to-do.js
│── package.json
│── package-lock.json
│── .gitignore

⚙️ Installation

Clone the repository:

git clone https://github.com/godhaniyaarbham2000-spec/NodeJS-CLI-Project-To-Do-List.git

Go to Project folder

cd NodeJS-CLI-Project-To-Do-List

Install dependencies:

npm install

▶️ Usage

Run the project:

node to-do.js

💻 Example

1: Add a Task
2: View Tasks
3: Exit
Choose an Option: 1

ENTER THE TASK: eat
Task added : eat

1: Add a Task
2: View Tasks
3: Exit
Choose an Option: 1

ENTER THE TASK: read
Task added : read

1: Add a Task
2: View Tasks
3: Exit
Choose an Option: 2

Your TO-DO Lists

1 eat
2 read

1: Add a Task
2: View Tasks
3: Exit
Choose an Option: 3
Good bye

⚠️ Notes

  • Tasks are stored temporarily (in memory)
  • Data will reset when program restarts
  • Enter valid options (1, 2, 3) only

📌 Future Improvements

  • Save tasks in file (JSON / TXT)
  • Delete task feature
  • Mark task as completed
  • Persistent storage support
  • Better UI with colors (chalk)

👨‍💻 Author

Arbham Godhaniya
MERN Stack Developer

About

A simple command-line To-Do List application built using Node.js that allows users to add and view daily tasks through a menu-driven interface in the terminal. It is a beginner-friendly project that demonstrates basic Node.js concepts like user input handling and simple task management.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors