Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.08 KB

File metadata and controls

56 lines (39 loc) · 1.08 KB

Java To-Do List (Console App)

A simple console-based To-Do List application written in Java.
This app lets you manage your tasks directly from the terminal: add new tasks, view them, mark them as completed, and delete them.


Features

  • Add new tasks
  • Mark tasks as completed
  • Delete tasks
  • View all current tasks
  • In-memory storage (data will reset when the app is closed)

Getting Started

Prerequisites

  • Java JDK 14 or above
  • A text editor or IDE (like VS Code, IntelliJ IDEA, or Eclipse)

How to Run

  1. Clone this repository:

    git clone https://github.com/nurulashraf/java-todo-list.git
    cd java-todo-list
  2. Compile and run:

    cd src
    javac -d . ToDoList.java
    java todolist.ToDoList

Run with Docker

  1. Build the image:

    docker build -t java-todolist .
  2. Run the container (interactive mode required for console input):

    docker run -it java-todolist

License

This project is licensed under the MIT License - see the LICENSE file for details.