Skip to content

ikramuzzaman455173/dynamic-nested-categories-reactjs

Repository files navigation

Category Management App

This application allows you to manage categories and subcategories with CRUD operations.

Features

  • Add, edit, and delete categories and subcategories.
  • Store data locally using localStorage.
  • Responsive UI with React and Tailwind CSS.

Getting Started

To get a local copy up and running follow these simple steps:

Prerequisites

Make sure you have Node.js and npm installed on your machine.

Installation

  1. Clone the repository:

    git clone https://github.com/ikramuzzaman455173/dynamic-nested-categories-reactjs.git
  2. Navigate to the project directory:

    cd dynamic-nested-categories-reactjs
  3. Install dependencies:

    npm install

Usage

  1. Start the development server:

    npm start
  2. Open your browser and navigate to http://localhost:3000 to view the app.

How to Use

  • Click Add Category to create a new top-level category.
  • Click Edit to modify category names.
  • Click Delete to remove a category and its subcategories.
  • Click Add Subcategory to add a child category to an existing category.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your improvements.

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgements

  • This project was built using React and Tailwind CSS.