Los SDK de Realm te permiten conectar tus aplicaciones cliente al backend de App Services. Los SDK proporcionan la funcionalidad necesaria para autenticar a los usuarios con cualquiera de las funciones integradas. proveedores de autenticación, llamar a funciones de backend y acceder directamente a una fuente de datos MongoDB vinculada.
The App Client
When using the SDK to access the Atlas App Services backend, you start with a App object. This object provides all other functionality related to App Services.
Para obtener más información, consulte Inicializar la aplicación cliente.
Authentication & User Management
With the Realm Web SDK, you can manage users with minimal backend setup or client-side code using App Services Authentication. Integrate with 3rd-part OAuth providers, JWT authentication services, or use App Service's built-in user management system.
To learn how to use App Services Authentication with the Realm Web SDK, see User Management.
Query MongoDB
The Realm SDKs includes MongoDB Data Access for performing CRUD and aggregation operations directly from the browser. For security, configure server-side data access rules to dynamically determine read & write permissions for every object that a user accesses.
Para aprender a usar las API de MongoDB, consultar Query MongoDB.
Call Functions
Funciones de Atlas te permite definir y ejecutar lógica en el lado del servidor para tu aplicación. Llama a estas funciones desde aplicaciones cliente con el SDK de Realm Web. Estas funciones lado servidor pueden ejecutarse bajo el contexto del usuario autenticado, y por lo tanto respetan las reglas, roles y permisos que le hayas asignado a tus datos.
By using Functions, you provide a secure way for multiple client applications to share complex functionality without having to reproduce that logic client-side.
Para aprender a usar Funciones, consulte Llamar a una función.