A starter kit for start with Mongo Realm
nvm use
npm ci
npm run build
- Click on the button
Use Template
in MONGODB-REALM-TYPESCRIPT-EXAMPLE and clone your fresh repository : - Go to your app service in the menu Manage > Deployment and Tab Configuration :
- Follow the 4 steps : Install App Services on your GitHub, Authorize App Services Github App, Select your repository and enable Automatic Deployment
You need to modify some value in different files :
- Change line 5 (
"clusterName": "<Name-Of-Your-Cluster>"
) indata_sources/mongodb-atlas/config.json
. Adding the name of your cluster in Mongo Atlas. The name of your cluster is next to the buttonConnect
: - Change line 2 (
"app_id": "<app-id>"
) inrealm_config.json
. Adding the ID of your application in App Services. You can copy the ID from your dashboard App Services : - Change line 4 (
"name": "<name-of-application>"
) inrealm_config.json
. Adding the name of your application in App Services. You can found the name of your application from your dashboard (in my case isApplication-0
) : - Change line 6 (
"provider_region": "<provider-region>"
) inrealm_config.json
. Adding your region where you have to deploy your App Service . You can found your region from the menu App Settings (in my case isIreland (eu-west-1) • AWS
, which giveaws-eu-west-1
) : - Commit and push your changement and after the deploy finish in App Service. You can see a new endpoint and a function
example
appear.
👤 Gaëtan Cottrez [email protected]
- Website: https://apprendre-la-programmation.net
- Github: @GaetanCottrez
- LinkedIn: @gaetan-cottrez
Give a ⭐️ if this project helped you!