How it works
Search
Type a query and the app calls the local /api/search endpoint. That endpoint proxies the request to the Brave Search API and returns results to render.
- Query and pagination live in the URL
- Results are fetched in pages and appended
- Errors are surfaced without breaking the UI
graph TD
A[Search input] --> B[/api/search endpoint]
B --> C[Brave Search API]
C --> D[Results JSON]
D --> E[UI list + load more]