← 全部工具

iamdeveloperrayhan/nodejs-cli-task-manager

热度 70 更新于 效率与自动化

A beginner-friendly Task Management CLI application built with Node.js. Manage tasks with add, update, delete, search, and file-based storage using only built-in Node.js modules.

githubauto-collected

安装

暂未验证可直接使用的安装命令,请查看项目官方文档或 Release。

📋 Node.js CLI Task Manager

A beginner-friendly Command-Line Interface (CLI) Task Management System built with Node.js using only built-in Node.js modules. This project demonstrates JavaScript fundamentals, modular programming, file handling, input validation, and persistent data storage without using any external libraries or databases.

---

✨ Features

  • ✅ Add new tasks
  • ✅ Auto-generated unique task IDs
  • ✅ Prevent duplicate tasks (same title & due date)
  • ✅ View all tasks grouped by priority
  • ✅ Search tasks by:
  • Title (partial & case-insensitive)
  • Status
  • Priority
  • ✅ Update task status
  • ✅ Delete tasks with confirmation
  • ✅ Automatic JSON file storage
  • ✅ Load saved tasks on application startup
  • ✅ Input validation
  • ✅ Modular project structure
  • ✅ Beginner-friendly source code

---

🛠️ Built With

  • Node.js
  • JavaScript (ES6)
  • Built-in Node.js Modules
  • fs
  • path
  • readline

No external npm packages are used.

---

📂 Project Structure

task-manager/
│
├── app.js
├── taskService.js
├── fileHandler.js
├── utils.js
├── tasks.json
└── README.md

---

🚀 Getting Started

1. Clone the Repository