This repository contains a React application that implements a simple todo list. Users can add new todos, mark them as complete or incomplete, delete todos, and check/uncheck all todos at once. Additionally, when all todos are marked as complete, a confetti animation is displayed.
To run the application locally, follow these steps:
-
Clone the repository:
git clone https://github.com/dortizp/todo-app-ts.git
-
Navigate to the project directory:
cd todo-app-ts
-
Install the dependencies:
npm install
Note: Node.js version 14.0.0 or higher is required. If you don't have Node.js installed, you can download it from the official website: https://nodejs.org/
-
Start the development server:
npm start
The application will be running at
http://localhost:3000
.
-
Open the application in your web browser at
http://localhost:3000
. -
Add a new todo by entering a task description in the input field and pressing the Enter key or clicking the "Add" button.
-
Mark a todo as complete or incomplete by clicking the checkbox next to it.
-
Delete a todo by clicking the "Delete" button next to it.
-
Check or uncheck all todos at once by clicking the "Check all" or "Uncheck all" button.
-
When all todos are marked as complete, a confetti animation will be displayed.
- React
- HTML
- CSS
- JavaScript
This project is licensed under the MIT License.
- Confetti library for the confetti animation.
- React library for building the user interface.
- Material UI library is an open-source React component library that implements Google's Material Design.