TODO-TS is a simple, fully-functional TODO application built with TypeScript, designed to offer a streamlined task management experience. This app allows users to add, mark as completed, and delete tasks, with all task data stored locally in the browser’s localStorage, ensuring persistence across sessions. Initially a learning project, TODO-TS is practical for real-life use.
- Add Todo: Quickly add new tasks to your list with an intuitive interface.
- Mark Todo as Completed: Easily mark tasks as completed to track progress.
- Delete Todo: Remove tasks that are no longer relevant.
- Persistent Storage: Todos are saved in localStorage, ensuring they are available across sessions.
- TypeScript: Ensures type safety and improved tooling.
- Vite: Bundler used for fast development and optimized builds.
- Tailwind CSS: Provides responsive, customizable styling.
- DOM API: Uses native DOM manipulation for simplicity and direct control.
- Adding a Todo: New tasks are added to the list and saved in localStorage.
- Marking as Completed: Clicking on a task marks it as completed.
- Deleting a Todo: Click delete to remove a task from both UI and localStorage.
- LocalStorage Persistence: On page load, the app retrieves and displays the todo list from localStorage, ensuring all tasks are available across sessions.
- Clone the repository:
git clone https://github.com/yourusername/todo-ts.git
- Navigate to the project directory:
cd Todo-App-TS - Install dependencies:
npm install
- Run the project:
Vite will start a development server, and you can access the app at the provided local URL.
npm run dev
- Adding a Todo: Enter your task and click the "Add" button.
- Completing a Todo: Click a task to mark it as completed.
- Deleting a Todo: Click the "Delete" button next to any task to remove it.
TODO-TS was created as part of my journey to learn and practice TypeScript. This project provided hands-on experience with TypeScript while using Vite, Tailwind CSS, and the DOM API to build a practical, real-world application.
This project is open-source and available under the MIT License.
Check out the Live Demo on Vercel and stay organized with TODO-TS!