This is a simple Todo App built using React and Redux. It allows you to add, edit, and delete tasks in a list. The app uses Redux for state management.
- Add a new task
- Edit an existing task
- Delete a task
To run this app locally, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/react-redux-todo-app.git
- Install dependencies:
cd react-redux-todo-app
npm install
- Start the development server:
npm start
- Open your browser and go to http://localhost:3000 to use the app.
-
Type a new task in the input field and click the "Add" button to add it to the list.
-
To edit a task, click the "Edit" button next to the task. The task will become editable. Make your changes and click the "Save" button to save the edits or the "Cancel" button to discard the changes.
-
To delete a task, click the "Delete" button next to the task.
The project is structured as follows:
src/actions
: Contains Redux action creators.src/reducer
: Defines the Redux state and reducers.src/components
: Contains the mainApp
component and related styles.src/index.js
: Entry point of the app.
- React
- Redux
- react-redux