Boost your developer experience with seamless type consistency, automatic Swagger documentation, and protocol buffer support.
Powered by Zod Schemas
Use zod to describe the input and output schemas into your application, so you can easyly centralize all the information your API is receiving and returning to the consumers.
Initio server utils
Describe your API endpoints, so the API utils can infer the types for both server functions as well as client consumers.
Next Server Functions
Every API definition will have a 'setHandler' function that can be used to define the corresponding serv function. This helper will expose the right types to the function passed as argument.
Learn More About Next APP RouterStraight Forward Consumer
Once you have defined your API endpoint, you can easyly create a consumer, which will have the infered types and will help you to see the right data for each endpoint. (Mutators will come in future releases)
Learn More About React QueryOpenAPI Out of the Box
Build command:
pnpm run next-base:build:prodOutput directory
dist/apps/next-base/.nextInstall command
pnpm install --frozen-lockfile