A modern, user-friendly To-Do List application built with React and TypeScript. This project is designed to manage tasks effectively with advanced features like filtering, task completion tracking, and data persistence using localStorage
.
- Add, edit, and delete tasks: Easily manage your to-do items.
- Mark tasks as completed: Keep track of completed and pending tasks.
- Filter tasks: View tasks based on their status - All, Completed, or Pending.
- Persist data: Tasks are stored in the browser's
localStorage
to maintain state across sessions
-
Clone the repository:
git clone https://github.com/your-username/todo-list-app.git cd todo-list-app
-
Install dependencies:
npm install
-
Start the development server:
npm start
-
Open your browser at http://localhost:3000 to view the app.
src/
├── components/
│ ├── TaskForm.tsx # Form for adding tasks
│ ├── TaskList.tsx # List displaying all tasks
│ ├── TaskFilter.tsx # Filter controls for tasks
├── styles.css # CSS for styling the app
├── types.ts # Type definitions for Task
└── App.tsx # Main App component
- Add a task: Type a task description and click "Add Task."
- Complete/Uncomplete a task: Click the "Complete" or "Uncomplete" button on any task.
- Delete a task: Click the "Delete" button to remove a task.
- Filter tasks: Use the filter buttons (All, Completed, Pending) to view specific task categories.
Contributions are welcome! Feel free to fork this repository, make changes, and submit a pull request.
- Fork the project.
- Create a new branch:
git checkout -b feature/your-feature
- Commit your changes:
git commit -m "Add some feature"
- Push the branch:
git push origin feature/your-feature
- Open a pull request.
This project is licensed under the MIT License.
Feel free to customize the text to align with your specific repository and personal preferences! 😊