Skip to content

Mattio-cmd/DooT-ToDo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DooT

DooT banner

A small drag-and-drop to-do list built with React and TypeScript. Tasks live in two columns — Active and Completed — and can be dragged between them; dropping a task into a column marks it done (or not) automatically.

Features

  • Add tasks from the input bar (Enter or the + button)
  • Edit a task in place (pencil icon), delete it (cross icon), or toggle it done (check icon)
  • Drag tasks to reorder them or move them between the Active and Completed columns
  • Gruvbox-inspired dark color scheme, responsive down to phone widths

Screenshots

Main view with Active and Completed columns

Tasks in both columns

Tech stack

Project structure

src/
├── index.tsx                 # Entry point
├── App.tsx                   # State (active/completed lists) + drag-and-drop logic
├── model.ts                  # The Todo interface
└── components/
    ├── InputField.tsx        # New-task input bar
    ├── TodoList.tsx          # The two droppable columns
    ├── SingleTodo.tsx        # A single draggable task card (edit/delete/done)
    └── styles.css            # Styles for all components

Tasks are kept in component state only — there is no persistence, so refreshing the page clears the lists.

Running it

Requires Node.js and npm.

npm install
npm start        # dev server at http://localhost:3000

Other scripts:

npm run build    # production build in build/
npm test         # test runner (no tests written yet)

License

See LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors