This solution makes use of nested sets to model the tree structure in MongoDB. You can read more about nested sets here.
- Node
- Yarn
- MongoDB
Follow the following instructions to set up the project on your machine.
-
Clone the repository
-
Install the project dependencies with the command
yarn
- Start the project with the command
yarn dev