BFS TreeLookup
Created an SPA with a search box and a search result area below it. The search result area populated with the path to the target number using the TreeLookup API and a breadth-first search.
How to run
- Clone the repository https://github.com/jagdish-176/tree-lookup.git to folder ./tree-lookup
- cd tree-lookup
- npm install
- npm start
- Now browse url 'http://localhost:8080'
Optional Steps Implemented:
- Deployed on heroku.com at this url.
- Made shareable url so we can share search results with other person (for ex. search result for 22 is at this url )
- Showing Processed Paths with count.
- Frameworks/Libraries used
- Node.js
- Express.js
- React.js
- ES6
Note
- TreeLookup API is at tree-lookup/modules/tree-api.js and used in Tree.js React Component