Skip to content

hassanamjad91/react-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Tree

This is a barebone tree application built using React, react hooks and a nested array.
No assistive libraries were used for this project.

Feature Set:

  • Add sibling and child nodes up to nth level
  • Delete subling and child nodes
  • Shift nodes up or down
  • Drag n Drop new nodes from catalog
  • Expand / collapse parent nodes

Prerequisites

  • Node (Make sure you have the node 12+ installed)

Getting Started

  1. Clone the repository gh repo clone hassanamjad91/react-tree (or if you're not using GitHub CLI: git clone git@github.com:hassanamjad91/react-tree.git)
  2. If you're using NVM run nvm use inside project directory to use node version set in .nvmrc file
  3. Run npm install or npm i to install all the dependencies
  4. To begin development task, run npm start
  5. Open http://localhost:8080

Available commands

  • npm clean - delete the dist folder
  • npm start - start the dev server and watch for changes
  • npm run build - create a production ready build in dist folder

About

⚛️ Tree application built using React.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published