Welcome to the ToDo List ReactJS Project Wiki! This project is a simple, yet powerful task management application built using ReactJS. It allows you to add tasks with descriptions, mark them as completed, view completed tasks, and delete tasks.
- Overview
- Installation
- Usage
- Features
- Component
- Contributing
The ToDo List project is designed to help users manage their tasks efficiently. Users can add new tasks with descriptions, mark tasks as completed, view a list of completed tasks, and delete tasks. The project demonstrates the use of ReactJS for building interactive user interfaces.
Follow these steps to get the project up and running on your local machine.- Node.js (>=12.x)
- npm (>=6.x) or yarn (>=1.x)
- Clone the repository
- Install dependencies
- Start the development server
git clone https://github.com/Kshitij-Raj-01/TodoList-ReactJs.git
cd TodoList-ReactJs
npm install
# or
yarn install
npm start
# or
yarn start
Open http://localhost:3000 to view it in the browser.
- Enter the task title and description in the input fields.
- Click the "Add" button.
- Click the checkbox next to the task title.
- The task will be moved to the "Completed Tasks" section.
- Navigate to the "Completed Tasks" page to view all tasks marked as completed.
- Click the delete icon (🗑️) next to the task title to remove the task.
- Add Tasks: Add new tasks with titles and descriptions.
- Complete Tasks: Mark tasks as completed.
- View Completed Tasks: View a list of all completed tasks.
- Delete Tasks: Remove tasks from the list.
- Description: Component for adding new tasks.
- Props:
- handleAddTodo (Array): Function to call for add the new tasks.
- Description: Component for displaying the list of tasks.
- Props:
- allTodos (Array): List of tasks to display.
- handleCompleteTodo (Function): Function to call when a task is completed.
- handleDeleteTodo (Function): Function to call when a task is deleted.
- Description: Component for displaying a single task.
- Props:
- handleCompleteTodo (Function): Function to call when the task is completed.
- handleDeleteTodo (Function): Function to call when the task is deleted.
- Description: Component for displaying completed tasks.
- Props:
- completedTodos (Array): List of completed tasks.
We welcome contributions to the project. Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (git checkout -b feature-branch).
- Make your changes.
- Commit your changes (git commit -m 'Add some feature').
- Push to the branch (git push origin feature-branch).
- Create a new Pull Request.