A simple command-line task tracker built in Java. This application allows users to manage tasks and track their progress using a local JSON file.
- Add tasks
- Update tasks
- Delete tasks
- Mark tasks as
todo,in-progress, ordone - List all tasks
- List tasks by status
- Persistent storage using a JSON file
- Java JDK 8 or higher
- Command Line (CMD, PowerShell, or Terminal)
git clone [https://github.com/fongne03/task-tracker-cli.git](https://github.com/fongne03/task-tracker-cli.git)
cd task-tracker-clijavac *.javajava TaskClijava TaskCli add "Buy groceries"java TaskCli listjava TaskCli list todo
java TaskCli list in-progress
java TaskCli list donejava TaskCli mark-in-progress 1java TaskCli mark-done 1java TaskCli update 1 "Buy groceries and cook dinner"java TaskCli delete 1Tasks are stored in a file named tasks.json in the project directory. The file is automatically created if it does not exist.
Example JSON structure:
[
{
"id": 1,
"description": "Buy groceries",
"status": "todo",
"createdAt": "2024-01-09T10:00:00",
"updatedAt": "2024-01-09T10:05:00"
}
]Each task includes:
- ID: Unique identifier
- Description: Details of the task
- Status: Current state of the task
- Created timestamp: Date and time of creation
- Updated timestamp: Date and time of last update
More project details at: https://roadmap.sh/projects/task-tracker
GitHub Repository: https://github.com/fongne03/task-tracker-cli
- No external libraries or frameworks are used.
- All file operations use Java’s native filesystem APIs.
- This project is intended for learning and practice.