Implements #51 Adds a search page under /search and a API endpoint search?q={query}
Adds search link to home page
Add Search page, which renders the page with the search box and the results using the Results component
Add useSearch hook, which handles input validation and API requests. API calls are debounced and delayed by 300ms to lower the impact on the backend while users are typing
The API endpoint gets areas and ports matching the query, and sorts them alphabetically before returning the response.
Implements #51 Adds a search page under
/search
and a API endpointsearch?q={query}
Search
page, which renders the page with the search box and the results using theResults
componentuseSearch
hook, which handles input validation and API requests. API calls are debounced and delayed by 300ms to lower the impact on the backend while users are typing