What problem does it solve? Setting up an HTTP server in Bun requires knowing the Bun.serve API surface, including fetch handlers, body parsing, routing, CORS, and error handling, which developers often piece together from scattered documentation. ## Core Features & Use Cases - Request Handling: Parse methods, paths, query params, headers, and bodies (JSON, form data, text, ArrayBuffer, Blob) inside a single fetch handler. - Routing & Responses: Implement static and dynamic routes returning JSON, HTML, redirects, files, and streams with proper status codes. - Server Configuration: Configure ports, hostnames, TLS, Unix sockets, body size limits, CORS headers, and global error handlers. - Use Case: Build a REST API endpoint like GET /api/users/:id that parses the URL, returns JSON, handles 404s, and includes CORS headers for browser clients. ## Quick Start Ask the assistant to create a Bun HTTP server on port 3000 with a JSON API route and error handling.