Docs Menu

Docs HomeRealm

Atlas App Services

On this page

  • The App Client
  • Authentication & User Management
  • Query MongoDB
  • GraphQL API
  • Call Functions

Realm SDKs let you connect your client apps to the App Services backend. The SDKs provide the functionality needed to authenticate users with any of the built-in authentication providers, call backend functions, and directly access a linked MongoDB data source.

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.

For further information, see Initialize the App Client.

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.

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.

To learn how to use the MongoDB APIs, see Query MongoDB.

Use the Atlas GraphQL API with the Realm Web SDK to query data in MongoDB Atlas. The Atlas GraphQL API generates a schema from your data in Atlas, which you can extend with custom resolvers. Configure server-side data access rules to dynamically determine read and write permissions for every query.

To get started using the GraphQL API in a React web app, see the Apollo GraphQL Client (React) integration guide.

Atlas Functions let you define and execute server-side logic for your application. Call these Functions from client applications with the Realm Web SDK. These server-side functions can run under the context of the authenticated user, and thus honor the rules, roles, and permissions that you have assigned to your data.

By using Functions, you provide a secure way for multiple client applications to share complex functionality without having to reproduce that logic client-side.

To learn how to use Functions, see Call a Function.

←  Quick Start with React - Realm Web SDKInitialize the App Client →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.