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.
- 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
- Node.js
- JavaScript (ES Modules)
- Readline module (for CLI input handling)
NodeJS-CLI-Project-To-Do-List/
│── to-do.js
│── package.json
│── package-lock.json
│── .gitignore
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
Run the project:
node to-do.js
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
- Tasks are stored temporarily (in memory)
- Data will reset when program restarts
- Enter valid options (1, 2, 3) only
- Save tasks in file (JSON / TXT)
- Delete task feature
- Mark task as completed
- Persistent storage support
- Better UI with colors (chalk)
Arbham Godhaniya
MERN Stack Developer