A React + Vite web application for managing to-do tasks. The app uses Redux to store and update tasks. Users can add new tasks, mark them as completed, edit tasks, and delete tasks. The app is designed using CSS for a clean and responsive interface.
- Add new tasks: Easily add tasks to keep track of your to-dos.
- Mark tasks as completed: Keep track of completed tasks with a simple toggle.
- Edit existing tasks: Edit your tasks at any time to make necessary changes.
- Delete tasks: Remove tasks once they are no longer needed.
- Responsive design: The app is built with CSS for a clean and responsive user interface, ensuring it works well on any device.
- Installable as a PWA: The app is a Progressive Web App (PWA), meaning it can be installed on your device and used offline, providing a native-like experience on both mobile and desktop.
Make sure you have the following installed:
-
Clone the repository:
git clone https://github.com/Sagnik-Coder24/To-do-app-Redux.git cd To-do-app-Redux
-
Install dependencies:
yarn install # or npm install
-
Start the development server:
yarn dev # or npm run dev
-
Open your browser and go to
http://localhost:5173
to see the app in action.
-
Build the app for production:
yarn build # or npm run build
-
Deploy to Netlify:
- Push your code to a GitHub repository.
- Go to Netlify and log in.
- Click on "New site from Git" and connect your GitHub account.
- Select your repository and configure the build settings:
- Build command:
yarn build
ornpm run build
- Publish directory:
dist
- Build command:
- Click "Deploy site".
Netlify will automatically build and deploy your site. You can find your live site URL in the Netlify dashboard.
- Add new tasks using the input field.
- Mark tasks as completed by clicking the checkbox.
- Edit tasks by clicking on the task itself.
- Delete tasks by clicking the delete button.
- For the PWA feature to work, ensure that your device is connected to the internet at least once so it can download and cache the necessary assets.
- After installation, the app can be launched from your home screen (on mobile) or from the desktop (on supported browsers).
We welcome contributions from the community! Feel free to open issues and pull requests to suggest improvements, add new features, or fix bugs. Here’s how you can contribute:
- Fork the repository
- Create a new branch (
git checkout -b feature-branch
) - Make your changes
- Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin feature-branch
) - Open a pull request
If you have suggestions or feedback on how to improve this project, feel free to post them on our GitHub Issues page. We love hearing your ideas and collaborating with the community!