Skip to content

Commit

Permalink
(DOCSP-35276): Update baseURL and fix remaining dataExplorerLink issu…
Browse files Browse the repository at this point in the history
…es (#182)

This PR primarily updates the baseURL per this Jira ticket:
https://jira.mongodb.org/browse/DOCSP-35276

But while I was touching the `atlasConfig` files, I fixed a few
remaining potential issues related to missing `dataExplorerLink` URLs
for these tickets:

- https://jira.mongodb.org/browse/DOCSP-33472
- https://jira.mongodb.org/browse/DOCSP-34798

Note for reviewer: the failing Run web-js tests checks are expected as I
have not set up an API key to run those tests.
  • Loading branch information
dacharyc authored Jan 10, 2024
1 parent 2146863 commit 20d5e3b
Show file tree
Hide file tree
Showing 38 changed files with 74 additions and 71 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ For bucket access, consult the Realm docs team.

## Sync-todo Versions

- **v0**: (Deprecated) A partition-based sync "task tracker" app.
- **v1**: (Deprecated) The task tracker app, now with flexible sync!
- **v2**: (Current) A todo app with a flexible sync backend that has a few new nifty features.

## About "generated"
Expand Down Expand Up @@ -51,12 +49,13 @@ A GitHub Action creates "artifact repos" of a few subdirectories so that the cli
`generated` directory.

2. Be sure your project uses a `realm.json` file (or `.xml`, or `.plist`...) to
get the app id and base url info:
get the app id, base url info, and data explorer link:

```
{
"appId": "todo-sync-jxgjv",
"baseUrl": "https://realm.mongodb.com"
"baseUrl": "https://services.cloud.mongodb.com",
"dataExplorerLink": "https://cloud.mongodb.com/links/app_id/explorer/cluster_name/database/collection/find"
}
```

Expand Down
4 changes: 2 additions & 2 deletions create-metadata-file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ app_description=$(npx mongodb-realm-cli app describe | tail -n +2)
APP_ID=$(jq -r '.client_app_id' <<< "$app_description")
REALM_URL=$(jq -r '.realm_url' <<< "$app_description")

DEPLOYMENT_REGEX='https:\/\/(((.+)\.(.+))\.)?realm.mongodb.com'
DEPLOYMENT_REGEX='https:\/\/(((.+)\.(.+))\.)?services.cloud.mongodb.com'
[[ $REALM_URL =~ $DEPLOYMENT_REGEX ]]
REGION_DOT_CLOUD="${BASH_REMATCH[2]}"
# REGION="${BASH_REMATCH[3]}"
Expand All @@ -33,7 +33,7 @@ metadata_file=$(
--arg DATA_API_BASE_URL "$DATA_API_BASE_URL" \
'{
"appId": $APP_ID,
"baseUrl": "https://realm.mongodb.com",
"baseUrl": "https://services.cloud.mongodb.com",
"appUrl": .realm_url | split("/") | del(.[] | select(. == "dashboard")) | join("/"),
"dataSourceName": .data_sources[0].name,
"clientApiBaseUrl": $CLIENT_API_BASE_URL,
Expand Down
2 changes: 1 addition & 1 deletion other/flex-sync-guides/client/src/realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
// :state-start: restricted-feed
"appId": "flexsyncpermissions-jojzp",
// :state-end:
"baseUrl": "https://realm.mongodb.com"
"baseUrl": "https://services.cloud.mongodb.com"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"appId": "<your-app-id>",
"baseUrl": "https://realm.mongodb.com"
"baseUrl": "https://services.cloud.mongodb.com"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"appId": "<your-app-id>",
"baseUrl": "https://realm.mongodb.com"
"baseUrl": "https://services.cloud.mongodb.com"
}
2 changes: 1 addition & 1 deletion other/flex-sync-guides/generated/tiered/src/realm.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"appId": "<your-app-id>",
"baseUrl": "https://realm.mongodb.com"
"baseUrl": "https://services.cloud.mongodb.com"
}
2 changes: 1 addition & 1 deletion other/flex-sync-guides/template-realm.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"appId": "<your-app-id>",
"baseUrl": "https://realm.mongodb.com"
"baseUrl": "https://services.cloud.mongodb.com"
}
6 changes: 3 additions & 3 deletions other/web-js/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,10 @@ The result should look like the following but with values specific to your App:
{
"appId": "myapp-abcde",
"baseUrl": "https://realm.mongodb.com",
"appUrl": "https://realm.mongodb.com/groups/642da640aa2afcfdaada4834/apps/642da64426fda9654422da0e/",
"baseUrl": "https://services.cloud.mongodb.com",
"appUrl": "https://services.cloud.mongodb.com/groups/642da640aa2afcfdaada4834/apps/642da64426fda9654422da0e/",
"dataSourceName": "mongodb-atlas",
"clientApiBaseUrl": "https://realm.mongodb.com",
"clientApiBaseUrl": "https://services.cloud.mongodb.com",
"dataApiBaseUrl": "https://data.mongodb-api.com"
}
Expand Down
6 changes: 3 additions & 3 deletions other/web-js/client/src/atlasConfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"appId": "todo-data-api-moifs",
"baseUrl": "https://realm.mongodb.com",
"appUrl": "https://realm.mongodb.com/groups/5b2ec426970199272441a214/apps/63ee5762b7dfee2f43183b33",
"baseUrl": "https://services.cloud.mongodb.com",
"appUrl": "https://services.cloud.mongodb.com/groups/5b2ec426970199272441a214/apps/63ee5762b7dfee2f43183b33",
"dataSourceName": "mongodb-atlas",
"clientApiBaseUrl": "https://realm.mongodb.com",
"clientApiBaseUrl": "https://services.cloud.mongodb.com",
"dataApiBaseUrl": "https://data.mongodb-api.com"
}
2 changes: 1 addition & 1 deletion other/web-js/client/src/client-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export class CredentialStorage {
* {
* error: 'name already in use',
* error_code: 'AccountNameInUse',
* link: 'https://realm.mongodb.com/groups/{groupId}/apps/{appId}/logs?co_id=63f506d9d243efe65aa33430'
* link: 'https://services.cloud.mongodb.com/groups/{groupId}/apps/{appId}/logs?co_id=63f506d9d243efe65aa33430'
* }
*/
export class ClientApiError extends Error {
Expand Down
6 changes: 3 additions & 3 deletions other/web-js/generated/prod-data-api/src/atlasConfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"appId": "<your-app-id>",
"baseUrl": "https://realm.mongodb.com",
"appUrl": "https://realm.mongodb.com/groups/<your-group-id>/apps/<app-hash>/",
"baseUrl": "https://services.cloud.mongodb.com",
"appUrl": "https://services.cloud.mongodb.com/groups/<your-group-id>/apps/<app-hash>/",
"dataSourceName": "mongodb-atlas",
"clientApiBaseUrl": "https://realm.mongodb.com",
"clientApiBaseUrl": "https://services.cloud.mongodb.com",
"dataApiBaseUrl": "https://data.mongodb-api.com"
}
2 changes: 1 addition & 1 deletion other/web-js/generated/prod-data-api/src/client-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export class CredentialStorage {
* {
* error: 'name already in use',
* error_code: 'AccountNameInUse',
* link: 'https://realm.mongodb.com/groups/{groupId}/apps/{appId}/logs?co_id=63f506d9d243efe65aa33430'
* link: 'https://services.cloud.mongodb.com/groups/{groupId}/apps/{appId}/logs?co_id=63f506d9d243efe65aa33430'
* }
*/
export class ClientApiError extends Error {
Expand Down
6 changes: 3 additions & 3 deletions other/web-js/generated/prod-graphql/src/atlasConfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"appId": "<your-app-id>",
"baseUrl": "https://realm.mongodb.com",
"appUrl": "https://realm.mongodb.com/groups/<your-group-id>/apps/<app-hash>/",
"baseUrl": "https://services.cloud.mongodb.com",
"appUrl": "https://services.cloud.mongodb.com/groups/<your-group-id>/apps/<app-hash>/",
"dataSourceName": "mongodb-atlas",
"clientApiBaseUrl": "https://realm.mongodb.com",
"clientApiBaseUrl": "https://services.cloud.mongodb.com",
"dataApiBaseUrl": "https://data.mongodb-api.com"
}
6 changes: 3 additions & 3 deletions other/web-js/generated/prod-mql/src/atlasConfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"appId": "<your-app-id>",
"baseUrl": "https://realm.mongodb.com",
"appUrl": "https://realm.mongodb.com/groups/<your-group-id>/apps/<app-hash>/",
"baseUrl": "https://services.cloud.mongodb.com",
"appUrl": "https://services.cloud.mongodb.com/groups/<your-group-id>/apps/<app-hash>/",
"dataSourceName": "mongodb-atlas",
"clientApiBaseUrl": "https://realm.mongodb.com",
"clientApiBaseUrl": "https://services.cloud.mongodb.com",
"dataApiBaseUrl": "https://data.mongodb-api.com"
}
6 changes: 3 additions & 3 deletions other/web-js/template-realm.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"appId": "<your-app-id>",
"baseUrl": "https://realm.mongodb.com",
"appUrl": "https://realm.mongodb.com/groups/<your-group-id>/apps/<app-hash>/",
"baseUrl": "https://services.cloud.mongodb.com",
"appUrl": "https://services.cloud.mongodb.com/groups/<your-group-id>/apps/<app-hash>/",
"dataSourceName": "mongodb-atlas",
"clientApiBaseUrl": "https://realm.mongodb.com",
"clientApiBaseUrl": "https://services.cloud.mongodb.com",
"dataApiBaseUrl": "https://data.mongodb-api.com"
}
10 changes: 5 additions & 5 deletions sync-todo/v2/client/flutter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ run this template app.
For this template app to work, you must ensure that `/assets/config/atlasConfig.json` exists and contains the following properties:

- **appId:** your Atlas App Services App ID.
- **baseUrl:** the App Services backend URL. This should be https://realm.mongodb.com in most cases.
- **atlasExplorerLink:** the App Services Data Explorer URL. This should be similar to https://cloud.mongodb.com/links/<YOUR-ATLAS-PROJECT-ID>/explorer/<YOUR-CLUSTER-NAME>/database/collection/find
- **baseUrl:** the App Services backend URL. This should be https://services.cloud.mongodb.com in most cases.
- **dataExplorerLink:** the App Services Data Explorer URL. This should be similar to https://cloud.mongodb.com/links/<YOUR-ATLAS-PROJECT-ID>/explorer/<YOUR-CLUSTER-NAME>/database/collection/find

### Using the Atlas App Services UI

The easiest way to use this template app is to log on to [Atlas App Services](https://realm.mongodb.com/) and click the **Create App From Template** button. Choose
The easiest way to use this template app is to log on to [Atlas App Services](https://services.cloud.mongodb.com) and click the **Create App From Template** button. Choose
**Real Time Sync**, and then follow the prompts. While the backend app is being
created, you can download this Flutter template app pre-configured for your new
app.
Expand Down Expand Up @@ -46,8 +46,8 @@ For this template app to work, you must ensure that
`/assets/config/atlasConfig.json` exists and contains the following properties:

- **appId:** your Atlas App Services App ID.
- **baseUrl:** the App Services backend URL. This should be https://realm.mongodb.com in most cases.
- **atlasExplorerLink:** the App Services Data Explorer URL. This should be similar to https://cloud.mongodb.com/links/<YOUR-ATLAS-PROJECT-ID>/explorer/<YOUR-CLUSTER-NAME>/database/collection/find
- **baseUrl:** the App Services backend URL. This should be https://services.cloud.mongodb.com in most cases.
- **dataExplorerLink:** the App Services Data Explorer URL. This should be similar to https://cloud.mongodb.com/links/<YOUR-ATLAS-PROJECT-ID>/explorer/<YOUR-CLUSTER-NAME>/database/collection/find

Once you have created the App Services App, replace any value in the
`appId` field with your App Services App ID. For help finding this ID, refer
Expand Down
2 changes: 1 addition & 1 deletion sync-todo/v2/client/flutter/assets/config/atlasConfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"appId": "sync-todo-v2-oxdgx",
"baseUrl": "https://realm.mongodb.com",
"baseUrl": "https://services.cloud.mongodb.com",
"dataExplorerLink": "",
"dataSourceName": "mongodb-atlas"
}
4 changes: 2 additions & 2 deletions sync-todo/v2/client/kotlin-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
Ensure `app/src/main/res/values/atlasConfig.xml` exists and contains the following properties:

- **appId:** your Atlas App Services App ID.
- **baseUrl:** the App Services backend URL. This should be https://realm.mongodb.com in most cases.
- **baseUrl:** the App Services backend URL. This should be https://services.cloud.mongodb.com in most cases.
- **dataExplorerLink:** the link to the Atlas cluster's collections.

### Using the Atlas App Services UI

The easiest way to use this template app is to log on to [Atlas App Services](https://realm.mongodb.com/) and click the **Create App From Template** button. Choose
The easiest way to use this template app is to log on to [Atlas App Services](https://services.cloud.mongodb.com) and click the **Create App From Template** button. Choose
**Real Time Sync**, and then follow the prompts. While the backend app is being
created, you can download this Kotlin template app pre-configured for your new
app.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<resources>
<string name="realm_app_id">PUT YOUR APP ID HERE</string>
<string name="realm_base_url">https://realm.mongodb.com</string>
<string name="dataExplorerLink">https://cloud.mongodb.com/links/app_id/explorer/cluster_name/database/collection/find</string>
<string name="realm_base_url">https://services.cloud.mongodb.com</string>
<string name="realm_data_explorer_link">https://cloud.mongodb.com/links/app_id/explorer/cluster_name/database/collection/find</string>
</resources>
4 changes: 2 additions & 2 deletions sync-todo/v2/client/maui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ The App ID is located in `atlasConfig.json`:
```json
{
"appId": "********",
"baseUrl": "https://realm.mongodb.com"
"baseUrl": "https://services.cloud.mongodb.com"
}
```

You will need to change the value of `appId` value with your App Services App ID. For help finding this ID, refer to: [Find Your Project or App Id](https://www.mongodb.com/docs/atlas/app-services/reference/find-your-project-or-app-id/)

### Using the Atlas App Services UI

The easiest way to use this template app is to log on to [Atlas App Services](https://realm.mongodb.com/) and click the **Create App From Template** button. Choose
The easiest way to use this template app is to log on to [Atlas App Services](https://services.cloud.mongodb.com) and click the **Create App From Template** button. Choose
**Real Time Sync**, and then follow the prompts. While the backend app is being
created, you can download this MAUI template app pre-configured for your new
app.
Expand Down
2 changes: 1 addition & 1 deletion sync-todo/v2/client/maui/RealmTodo/atlasConfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"appId": "********",
"baseUrl": "https://realm.mongodb.com",
"baseUrl": "https://services.cloud.mongodb.com",
"dataExplorerLink": "https://cloud.mongodb.com/links/app_id/explorer/cluster_name/database/collection/find"
}
4 changes: 2 additions & 2 deletions sync-todo/v2/client/react-native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ run this template app.
Ensure `atlasConfig.json` exists and contains the following properties:
- **appId:** your Atlas App Services App ID.
- **baseUrl:** the App Services backend URL. This should be https://realm.mongodb.com in most cases.
- **baseUrl:** the App Services backend URL. This should be https://services.cloud.mongodb.com in most cases.
### Using the Atlas App Services UI
The easiest way to use this template app is to log on to [Atlas App Services](https://realm.mongodb.com/) and click the **Create App From Template** button. Choose
The easiest way to use this template app is to log on to [Atlas App Services](https://services.cloud.mongodb.com) and click the **Create App From Template** button. Choose
**Real Time Sync**, and then follow the prompts. While the backend app is being
created, you can download this React Native template app pre-configured for your new
app.
Expand Down
2 changes: 1 addition & 1 deletion sync-todo/v2/client/react-native/atlasConfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"appId": "js-flexible-oseso",
"baseUrl": "https://realm.mongodb.com",
"baseUrl": "https://services.cloud.mongodb.com",
"dataExplorerLink": "https://cloud.mongodb.com/links/app_id/explorer/cluster_name/database/collection/find"
}
2 changes: 1 addition & 1 deletion sync-todo/v2/client/swiftui/App/atlasConfig.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>baseUrl</key>
<string>https://realm.mongodb.com</string>
<string>https://services.cloud.mongodb.com</string>
<key>appId</key>
<string>todo-sync-pcmwt</string>
</dict>
Expand Down
4 changes: 2 additions & 2 deletions sync-todo/v2/client/swiftui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ This project uses Swift Package Manager (SPM) to load dependencies.
For this template app to work, you must ensure that `App/atlasConfig.plist` exists and contains the following properties:

- **appId:** your Atlas App Services App ID.
- **baseUrl:** the App Services backend URL. This should be https://realm.mongodb.com in most cases.
- **baseUrl:** the App Services backend URL. This should be https://services.cloud.mongodb.com in most cases.

### Using the Atlas App Services UI

The easiest way to use this template app is to log on to [Atlas App Services](https://realm.mongodb.com/) and click the **Create App From Template** button. Choose
The easiest way to use this template app is to log on to [Atlas App Services](https://services.cloud.mongodb.com) and click the **Create App From Template** button. Choose
**Real Time Sync**, and then follow the prompts. While the backend app is being
created, you can download this SwiftUI template app pre-configured for your new
app.
Expand Down
10 changes: 5 additions & 5 deletions sync-todo/v2/generated/flutter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ run this template app.
For this template app to work, you must ensure that `/assets/config/atlasConfig.json` exists and contains the following properties:

- **appId:** your Atlas App Services App ID.
- **baseUrl:** the App Services backend URL. This should be https://realm.mongodb.com in most cases.
- **atlasExplorerLink:** the App Services Data Explorer URL. This should be similar to https://cloud.mongodb.com/links/<YOUR-ATLAS-PROJECT-ID>/explorer/<YOUR-CLUSTER-NAME>/database/collection/find
- **baseUrl:** the App Services backend URL. This should be https://services.cloud.mongodb.com in most cases.
- **dataExplorerLink:** the App Services Data Explorer URL. This should be similar to https://cloud.mongodb.com/links/<YOUR-ATLAS-PROJECT-ID>/explorer/<YOUR-CLUSTER-NAME>/database/collection/find

### Using the Atlas App Services UI

The easiest way to use this template app is to log on to [Atlas App Services](https://realm.mongodb.com/) and click the **Create App From Template** button. Choose
The easiest way to use this template app is to log on to [Atlas App Services](https://services.cloud.mongodb.com) and click the **Create App From Template** button. Choose
**Real Time Sync**, and then follow the prompts. While the backend app is being
created, you can download this Flutter template app pre-configured for your new
app.
Expand Down Expand Up @@ -46,8 +46,8 @@ For this template app to work, you must ensure that
`/assets/config/atlasConfig.json` exists and contains the following properties:

- **appId:** your Atlas App Services App ID.
- **baseUrl:** the App Services backend URL. This should be https://realm.mongodb.com in most cases.
- **atlasExplorerLink:** the App Services Data Explorer URL. This should be similar to https://cloud.mongodb.com/links/<YOUR-ATLAS-PROJECT-ID>/explorer/<YOUR-CLUSTER-NAME>/database/collection/find
- **baseUrl:** the App Services backend URL. This should be https://services.cloud.mongodb.com in most cases.
- **dataExplorerLink:** the App Services Data Explorer URL. This should be similar to https://cloud.mongodb.com/links/<YOUR-ATLAS-PROJECT-ID>/explorer/<YOUR-CLUSTER-NAME>/database/collection/find

Once you have created the App Services App, replace any value in the
`appId` field with your App Services App ID. For help finding this ID, refer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"appId": "PUT YOUR APP ID HERE",
"baseUrl": "https://realm.mongodb.com"
"baseUrl": "https://services.cloud.mongodb.com",
"dataExplorerLink": "https://cloud.mongodb.com/links/app_id/explorer/cluster_name/database/collection/find"
}
4 changes: 2 additions & 2 deletions sync-todo/v2/generated/kotlin-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
Ensure `app/src/main/res/values/atlasConfig.xml` exists and contains the following properties:

- **appId:** your Atlas App Services App ID.
- **baseUrl:** the App Services backend URL. This should be https://realm.mongodb.com in most cases.
- **baseUrl:** the App Services backend URL. This should be https://services.cloud.mongodb.com in most cases.
- **dataExplorerLink:** the link to the Atlas cluster's collections.

### Using the Atlas App Services UI

The easiest way to use this template app is to log on to [Atlas App Services](https://realm.mongodb.com/) and click the **Create App From Template** button. Choose
The easiest way to use this template app is to log on to [Atlas App Services](https://services.cloud.mongodb.com) and click the **Create App From Template** button. Choose
**Real Time Sync**, and then follow the prompts. While the backend app is being
created, you can download this Kotlin template app pre-configured for your new
app.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<resources>
<string name="realm_app_id">PUT YOUR APP ID HERE</string>
<string name="realm_base_url">https://realm.mongodb.com</string>
<string name="realm_base_url">https://services.cloud.mongodb.com</string>
</resources>
4 changes: 2 additions & 2 deletions sync-todo/v2/generated/maui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ The App ID is located in `atlasConfig.json`:
```json
{
"appId": "********",
"baseUrl": "https://realm.mongodb.com"
"baseUrl": "https://services.cloud.mongodb.com"
}
```

You will need to change the value of `appId` value with your App Services App ID. For help finding this ID, refer to: [Find Your Project or App Id](https://www.mongodb.com/docs/atlas/app-services/reference/find-your-project-or-app-id/)

### Using the Atlas App Services UI

The easiest way to use this template app is to log on to [Atlas App Services](https://realm.mongodb.com/) and click the **Create App From Template** button. Choose
The easiest way to use this template app is to log on to [Atlas App Services](https://services.cloud.mongodb.com) and click the **Create App From Template** button. Choose
**Real Time Sync**, and then follow the prompts. While the backend app is being
created, you can download this MAUI template app pre-configured for your new
app.
Expand Down
3 changes: 2 additions & 1 deletion sync-todo/v2/generated/maui/RealmTodo/atlasConfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"appId": "PUT YOUR APP ID HERE",
"baseUrl": "https://realm.mongodb.com"
"baseUrl": "https://services.cloud.mongodb.com",
"dataExplorerLink": "https://cloud.mongodb.com/links/app_id/explorer/cluster_name/database/collection/find"
}
Loading

0 comments on commit 20d5e3b

Please sign in to comment.