A simple and efficient command-line todo application built with Node.js. Manage your tasks directly from your terminal!
- ✅ Add new tasks
- ✅ Update existing tasks
- ✅ Delete tasks
- ✅ Mark tasks as todo, in-progress, or done
- ✅ List all tasks or filter by status
- ✅ Persistent storage using JSON
- Clone this repository:
git clone https://github.com/alchemycodess/task-tracker-cli-project.git- Navigate to the project directory:
cd task-cli-projectnode index.js add "Buy groceries"Output: Task added successfully (ID: 1)
node index.js update 1 "Buy groceries and cook dinner"Output: Task updated successfully (ID: 1)
node index.js delete 1Output: Task deleted successfully (ID: 1)
node index.js mark-in-progress 1
node index.js mark-done 1
node index.js mark-todo 1node index.js listnode index.js list done
node index.js list todo
node index.js list in-progressEach task has the following properties:
- id: Unique identifier for the task
- description: Short description of the task
- status: Current status (todo, in-progress, done)
- createdAt: Date and time when the task was created
- updatedAt: Date and time when the task was last updated
Tasks are stored in a tasks.json file in the project directory.
- Node.js
- File System (fs) module
- JSON for data persistence
- Error handling for invalid commands
- Task priorities
- Search functionality
- Better date formatting
- Color-coded output