Storing, Querying binary trees in a relational database and building a REST api from it. More about the exercise here
- Execute the SQL queries inside
tables.sqlto setup the database and it's tables - Execute the SQL queries inside
data.sqlto insert data - clone/download this project and put the folder inside your server hosting folder (
www,htdocsetc..) - configure your database access inside the file
config/config.php - launch your Webserver and open the project via your favourite browser
This app is deployed and availaible online here
Sample search string = https://nested-sets.herokuapp.com/api.php/?node_id=2&language=italian&search=helpdesk&page_size=210&page_num=0
- phpMyAdmin (DBMS tool)
- MAMP (web server)
- Postman (testing API calls)
- Curl (command line tool to test API calls)
- MySQL WorkBench (DBMS tool)
- Bash terminal (for typing commands)
- Heroku (deployment)
- VSCode (coding tool)
- populate the database with more data (more complex tree) to play with
- Build a React-App (front-end) to fetch the data and display on a compelling responsive UI
- Github: shloch
- Twitter: @shloch
- Linkedin: /in/shey-louis-chia
- Email: shloch2007@yahoo.fr



