The Nested Tags Tree UI is a React application that allows users to create and manage a nested tree structure of tags. This README provides an overview of the project, installation instructions, and key features.
- Installation and Setup
- Project Structure
- Components
- Exporting Data
- Styling
- Deployment
- Usage
- Contributing
- License
-
Prerequisites:
- Node.js and npm installed on your machine.
-
Project Setup:
- Clone this repository:
git clone https://github.com/Shinigami2222/TagTree.git
- Navigate to the project folder:
cd tagtree
- Install dependencies:
npm install
- Clone this repository:
-
Running the Application:
- Start the development server:
npm start
- Open your browser and go to
http://localhost:3000
- Start the development server:
- The project is organized into components for easy management.
- Each tag is represented by a
TagView
component and can have child tags represented byTagChildren
components. - Styling is managed using CSS Modules for a modular approach.
- Displays an individual tag's name and data.
- Features:
- Editing tag name by clicking on it.
- Collapsing/expanding child tags.
- Adding child tags.
- Editing tag data.
- Renders child tags within a
TagView
. - Supports recursive rendering for nested tags.
- Click the "Export" button to export the current tree structure to JSON format.
- The exported data matches the current expanded/collapsed state of the tree.
- CSS Modules are used for styling.
- Components have their own CSS files for better organization.
- Supports both light and dark themes.
-
Prepare for Deployment:
- Optimize your application for production.
- Test thoroughly.
-
Choose a Hosting Service:
- Deploy to a web hosting service of your choice (e.g., GitHub Pages, Netlify).
- Create and manage tags using the user-friendly UI.
- Collapse/expand tags by clicking on the arrows.
- Edit tag names by clicking on them.
- Add child tags using the "Add Child" button.
- Export the tree structure to JSON using the "Export" button.
Contributions are welcome! If you find any issues or want to improve the project, feel free to submit a pull request.