a NodeJS api that is hosted in Raspberry Pi that is powering my desk lamp via USB

the API has 2 routes :
POST /api/lamp/on: turns USB port upPOST /api/lamp/off: turns USB port down thus turning light offGET /home page with 2 buttons to turn on or off the lamp (The UI is optimized for phones)
I used uhubctl to control the USB port on the RaspberryPi and I used Express Typescript for the API
I used JS + HTML for the webpage
I also made an iPhone shortcut to make the api accessible from an iPhone
Icons made by Freepik from www.flaticon.com

