Skip to content

Server Data

Zova provides different levels of abstraction for accessing server data, allowing us to obtain server data in various ways according to business needs, bringing a simple, intuitive, flexible, and powerful development experience

NameDescription
$fetchA wrapper around axios
$apiProvides business-oriented API services on top of $fetch
ModelUses Tanstack Query on top of $api to manage caching of remote data
Openapi SDKAutomatically generates front-end Client SDK based on Swagger/Openapi metadata
$apiSchemaDirectly obtains API Schema metadata, which can be used to implement automatic Form rendering and data validation based on the Schema metadata
$sdkThe API Schema metadata is more generally encapsulated using the Model mechanism, providing a unified development experience

Released under the MIT License.