Last updated
Was this helpful?
Last updated
Was this helpful?
In terminal go to azure-quickstart/data-access
and issue the following command:
in azure-quickstart/data-access
create the following directory structure:
shared-code/data-sources/cosmos-db/
Add the a connection file for connecting to CosmosDB (MongoDB):
Add an import and start the cosmos connection in the main Apollo Function:
Add the following the localSettings.json
file, be sure to replace the values in <<>> with values from your Cosmos DB settings.