Everything is already set up. You just need to put your routes in the
api.php and use it in a controller.
Coder And Traveller #tech_lover
Please check the documentation,
I have checked all your params and its working fine,
And the second thing, its
Your error clearly signifies that the echo is not defined. That means echo is not importing if something is not importing then either dependency issue or path issue.
Just check if echo dependencies are installed or not this seems to be a configuration issue.
I think compilation is missing did you compiled your code properly. Because I did not see anything wrong with your code.
Still, I advise you to check the code, some minor mistake is present rest is ok.
Just check this file for the category,
Check this file for icon and search bar,