/React-Redux-Saga

CRUD APP (in memory crud using saga for fetch items)

Primary LanguageTypeScript

Overview

This repository contains a simple CRUD application that enables users to manage a list of items. The application is built using popular web technologies, including React for the frontend, Redux for state management, and Redux Saga for handling asynchronous operations.

Project Structure

The project structure is organized to maintain clarity and modularity:

  • public: Contains public assets and the index.html file.
  • src:
    • components: React components for the user interface.
    • redux: Redux-related files, including actions, reducers, and sagas.
    • sagas: Redux Saga middleware for handling asynchronous operations.
    • stores: Redux store configuration.
    • styles: Stylesheets for styling components.
    • App.tsx: Main application component.

Getting Started

Follow these steps to set up and run the CRUD application locally:

  1. Clone the Repository:
    git clone https://github.com/your-username/crud-react-redux-saga.git
    cd crud-react-redux-saga

Installation

To install the dependencies for the CRUD application, run the following commands:

npm install
  1. Running the Application To run the application, use the following command:
        npm run start

The application will be available at http://localhost:3000.

Usage

The application provides a user-friendly interface for managing a list of items. Key features include adding, updating, and deleting items. The initial list of items is fetched from a mock API (https://jsonplaceholder.typicode.com/todos) upon application load.

Project Dependencies

The CRUD application relies on the following technologies:

  • React
  • Redux
  • Redux Saga
  • Bootstrap (for styling)

Contributing

We welcome contributions to enhance the functionality and features of the CRUD application. Follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature/your-feature.
  3. Commit your changes: git commit -m 'Add your feature'.
  4. Push to the branch: git push origin feature/your-feature.
  5. Submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.