This is a simple To-Do List application built with React. The application allows users to add, view, edit, and delete tasks. It also includes features like marking tasks as completed and saving tasks to local storage to maintain persistence across page reloads.
- Add new tasks
- View a list of tasks
- Edit existing tasks
- Delete tasks
- Mark tasks as completed
- Persist tasks in local storage
- Responsive design using Bootstrap
- React
- Bootstrap
- React Icons
Make sure you have the following installed:
- Node.js
- npm (Node Package Manager)
- Clone the repository:
git clone [email protected]:Saipatnana/todo-app.git
cd todo-list-app
- Install dependencies:
npm install
To run the application in development mode:
npm start
Open http://localhost:3000 to view it in the browser.
To create a production build:
npm run build
This will create a build folder with all the static files needed to deploy the application.
todo-list-app/
│
├── public/
│ ├── index.html
│ └── ...
│
├── src/
│ ├── components/
│ │ ├── TaskInput.js
│ │ ├── TaskList.js
│ │ └── ...
│ ├── App.js
│ ├── index.js
│ ├── custom.css
│ └── ...
│
├── package.json
├── README.md
└── ...
- Type a task in the input field.
- Press the "Add Task" button or press Enter.
- The task will be added to the list below.
- Click the "Edit" button next to the task you want to edit.
- Modify the task text in the input field that appears.
- Click the "Save" button to save the changes.
- Click the "Delete" button next to the task you want to delete.
- The task will be removed from the list.
- Click the checkbox next to the task you want to mark as completed.
- The task text will be styled with a strikethrough to indicate completion.