This is a simple todo list application built in React, emulating the functionality of the todo list app in Backbone JS.
This project replicates the basic features of a todo list app using React. Users can add new tasks, mark tasks as done, edit existing tasks, and delete tasks from the list.
- Add new tasks: Enter a task and press 'Enter' or click the 'Add' button.
- Mark tasks as done: Click on the 'Done' button to mark a task as completed. Click 'Undo' to revert the task's completion status.
- Edit tasks: Click on the 'Edit' button to modify a task.
- Delete tasks: Click on the 'Delete' button to remove a task from the list.
To run this project locally, follow these steps:
- Node.js should be installed on your machine.
-
Clone the repository to your local machine:
git clone https://github.com/CodePhilanthropist/activity-5.git
-
Navigate to the project directory: cd react-todo-list-backbone-imitation
-
Install dependencies using npm or yarn: npm install
yarn install
-
Running the App Once the installation is complete, start the development server using Vite:
npm run dev
yarn dev
This will launch the application locally. Open your browser and visit http://localhost:3000 to view the React Todo List app.
Enter a new task in the input field and press 'Enter' or click the 'Add' button to add it to the list.
Click the 'Done' button to mark a task as completed. Click 'Undo' to revert the task's completion status.
Click the 'Edit' button to modify a task's content.
Click the 'Delete' button to remove a task from the list.
React
Vite
Zustand (for state management)
Feel free to explore the codebase and make modifications as needed!