GithubHelp home page GithubHelp logo

rohit-singh19 / todo-react Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 195 KB

Home Page: https://rohit-singh19-react-todo.netlify.app/

HTML 7.72% CSS 7.10% JavaScript 85.18%
authentication redux-toolkit reduxpersist todo todolist user-access-management

todo-react's Introduction

Todo App

Description

Todo App is a web application that allows users to manage their tasks and todos. Users can add tasks, mark tasks as complete, delete tasks, and change the view mode of the task list.

Table of Contents

Installation

  1. Clone the repository to your local machine.
  2. Install the required dependencies by running the command npm install.
  3. Start the development server using the command npm start.

Usage

To use the Todo App:

  1. Open the application in your web browser.
  2. Register for a new account or log in with your existing credentials.
  3. Once logged in, you will be redirected to the task management dashboard.
  4. Add new tasks by filling in the task details and clicking the "Add Task" button.
  5. To mark a task as complete, click the checkbox next to the task.
  6. To delete a task, click the delete button associated with the task.
  7. Use the view mode toggle to switch between different task list display modes.

Features

Add Task

  • Description: Allows users to add a new task to their task list.
  • Usage: Fill in the task details (title, description, etc.) and click the "Add Task" button.
  • Code: The addTask function in path/to/taskSlice.js handles adding a task. It updates the state by appending the new task to the existing list of tasks.

Mark Task as Complete

  • Description: Enables users to mark a task as complete.
  • Usage: Click the checkbox next to the task to mark it as complete.
  • Code: The completeTask function in path/to/taskSlice.js is responsible for marking a task as complete. It updates the completed property of the selected task to true, indicating that the task is completed.

Delete Task

  • Description: Allows users to delete a task from their task list.
  • Usage: Click the delete button associated with the task to remove it.
  • Code: The deleteTask function in path/to/taskSlice.js handles the deletion of a task. It filters out the selected task from the list of tasks, effectively removing it from the state.

Change View Mode

  • Description: Enables users to switch between different task list display modes.
  • Usage: Use the view mode toggle to select the desired view mode (e.g., list, grid, etc.).
  • Code: The changeViewMode function in path/to/taskSlice.js updates the viewMode property in the state, allowing the user interface to switch between different task list display modes.

Technologies Used

  • React
  • React Bootstrap
  • Redux
  • Redux Toolkit
  • React Router
  • Redux Persist

Contributing

Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

todo-react's People

Contributors

rohit-singh-vmart avatar rohit-singh19 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.