Declare Your Schema
The schema definition is very neat and descriptive. You get full data validation, data transformation, data sanitization, ORM methods, and a RESTful API set.
1@authorized2@api3@pymongo4@jsonclass5class User:6 id: str = types.readonly.str.primary.mongoid.required7 email: str = types.str.email.unique.authidentity.required8 password: str = types.writeonly.str.securepw.length(8, 16).salt.authbycheckpw.required9 name: str | None10 created_at: datetime = types.readonly.datetime.tscreated.required11 updated_at: datetime = types.readonly.datetime.tsupdated.required Auto-generated Clients
The API client can be directly used in frontend projects. No need to declare data models and request functions. It provides smart completion and type checking.
const users = await api.users.find({ email: { _contains: '@fillmula.com' }, _pageSize: 30, _pageNo: 1}) TypeScript
The auto-generated TypeScript client can be directly installed with npm and git. It features optional React addons.
Learn Morelet users = try! await api.users.find(.init( email: .contains("@fillmula.com"), _pageSize: 30, _pageNo: 1)) Swift
The auto-generated Swift client can be directly installed with Swift Package Manager. It features optional SwiftUI addons.
Learn More1val users = api.users.find(2 email=contains("@fillmula.com"),3 _pageSize=30,4 _pageNo=15).await() Kotlin
The auto-generated Kotlin client can be directly installed. It features optional Jetpack Compose addons.
Learn More