Overview of Tuyau tools
mainTuyau is a set of tools designed to create typesafe APIs using AdonisJS. It provides a way to bridge the gap between your AdonisJS backend and your frontend by generating an E2E typesafe client.
The monorepo consists of several specialized packages:
@tuyau/core: The primary package containing the backend integration for AdonisJS and the E2E typesafe client used by the frontend to consume APIs.@tuyau/react-query: Provides integration for Tanstack Query, allowing you to use Tuyau clients within React Query hooks.@tuyau/superjson: Enables seamless integration with SuperJSON to handle complex data types (like Dates, Maps, Sets) across the API boundary.
For detailed implementation guides, refer to the official documentation at https://tuyau.julr.dev.