API Fetching

A client component that calls the /api/hello endpoint. Demonstrates fetch() from a client component to a Catmint API endpoint, with loading states and error handling.

The endpoint is defined in app/api/hello/endpoint.ts and supports both GET and POST methods.

GET /api/hello