The IT Shop Microservice uses MongoDB as it’s datasource. This topic takes through the steps required to provision an instance in Azure.
To provision a CosmosDB instance
Log in to your Azure portal as a user with the necessary permissions to provision a database.
In Azure, click the Hamburger icon to open the main navbar.
Hover over Azure Cosmos DB and click Create in the modal that appears.
Under Project Details, select a Subscription and Resource Group for the App Service.
Under Instance Details, do the following:
Account Name — Enter a name database.
API — Azure Cosmos DB for MongoDB API.
Location — Select the appropriate geographic location.
Account Type — Production
Version — 3.6.
Click Review + Create.
Click Create.
After the database is provisioned click Connection String in the navbar and then copy all Read-write Keys. You will need these when you configure the IT Shop API App Service.