This is a simple and responsive task management web application built with React. It allows users to:
- Add, edit, and delete tasks
- Mark tasks as completed
- View completed tasks with timestamps
- Automatically store tasks in browser local storage
- Click the green Code button on the GitHub repository and choose Download ZIP, or clone it using Git:
git clone https://yashkappa.github.io/to-do-list.git- Open the folder in Visual Studio Code or your preferred editor.
Make sure you have Node.js and npm installed. Then run:
npm installThis will install all dependencies listed in package.json.
npm startThis will launch the app in your default browser at:
http://localhost:3000
To prepare the app for deployment, run:
npm run buildThis creates a production-ready version in the build/ folder.
You can now host it on any static site host like:
- GitHub Pages
- Firebase Hosting
- Install the
gh-pagespackage:
npm install --save gh-pages- Add the following to your
package.json:
"homepage": "https://yashkappa.github.io/to-do-list",
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
}- Deploy:
npm run deploytask-manager-app/
├── public/
├── src/
│ ├── components/
│ │ ├── Sidebar.js
│ │ ├── Task.js
│ │ ├── Complete.js
│ │ └── Input.js
│ ├── App.js
│ ├── App.css
│ └── index.js
├── package.json
└── README.md
