Skip to content

Commit 561af00

Browse files
authored
Update tutorial-nodejs-web-app.md
1 parent 33276d1 commit 561af00

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

articles/cosmos-db/mongodb/vcore/tutorial-nodejs-web-app.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: |
33
Tutorial: Build a Node.js web application
4-
titleSuffix: Azure Cosmos DB for MongoDB vCore
5-
description: In this tutorial, create a Node.js web application that connects to an Azure Cosmos DB for MongoDB vCore cluster and manages documents within a collection.
4+
titleSuffix: Azure Cosmos DB for MongoDB (vCore)
5+
description: In this tutorial, create a Node.js web application that connects to a vCore cluster in Azure Cosmos DB for MongoDB and manages documents within a collection.
66
author: gahl-levy
77
ms.author: gahllevy
88
ms.reviewer: sidandrews
@@ -11,26 +11,26 @@ ms.subservice: mongodb-vcore
1111
ms.topic: tutorial
1212
ms.date: 08/28/2023
1313
ms.custom: devx-track-js, devx-track-azurecli
14-
# CustomerIntent: As a developer, I want to connect to Azure Cosmos DB for MongoDB vCore from my Node.js application, so I can build MERN stack applications.
14+
# CustomerIntent: As a developer, I want to connect to Azure Cosmos DB for MongoDB (vCore) from my Node.js application, so I can build MERN stack applications.
1515
---
1616

17-
# Tutorial: Connect a Node.js web app with Azure Cosmos DB for MongoDB vCore
17+
# Tutorial: Connect a Node.js web app with Azure Cosmos DB for MongoDB (vCore)
1818

19-
[!INCLUDE[MongoDB vCore](../../includes/appliesto-mongodb-vcore.md)]
19+
[!INCLUDE[MongoDB (vCore)](../../includes/appliesto-mongodb-vcore.md)]
2020

21-
In this tutorial, you build a Node.js web application that connects to Azure Cosmos DB for MongoDB vCore. The MongoDB, Express, React.js, Node.js (MERN) stack is a popular collection of technologies used to build many modern web applications. With Azure Cosmos DB for MongoDB vCore, you can build a new web application or migrate an existing application using MongoDB drivers that you're already familiar with. In this tutorial, you:
21+
In this tutorial, you build a Node.js web application that connects to Azure Cosmos DB for MongoDB in vCore architecture. The MongoDB, Express, React.js, Node.js (MERN) stack is a popular collection of technologies used to build many modern web applications. With Azure Cosmos DB for MongoDB (vCore), you can build a new web application or migrate an existing application using MongoDB drivers that you're already familiar with. In this tutorial, you:
2222

2323
> [!div class="checklist"]
2424
> - Set up your environment
2525
> - Test the MERN application with a local MongoDB container
26-
> - Test the MERN application with the Azure Cosmos DB for MongoDB vCore cluster
26+
> - Test the MERN application with a vCore cluster
2727
> - Deploy the MERN application to Azure App Service
2828
2929
## Prerequisites
3030

3131
To complete this tutorial, you need the following resources:
3232

33-
- An existing Azure Cosmos DB for MongoDB vCore cluster.
33+
- An existing vCore cluster.
3434
- A GitHub account.
3535
- GitHub comes with free Codespaces hours for all users.
3636

@@ -204,7 +204,7 @@ Start by running the sample application's API with the local MongoDB container t
204204
205205
| Environment Variable | Value |
206206
| --- | --- |
207-
| `CONNECTION_STRING` | The connection string to the Azure Cosmos DB for MongoDB vCore cluster. For now, use `mongodb://localhost:27017?directConnection=true`. |
207+
| `CONNECTION_STRING` | The connection string to the Azure Cosmos DB for MongoDB (vCore) cluster. For now, use `mongodb://localhost:27017?directConnection=true`. |
208208
209209
```env
210210
CONNECTION_STRING=mongodb://localhost:27017?directConnection=true
@@ -234,15 +234,15 @@ Start by running the sample application's API with the local MongoDB container t
234234
235235
1. Close the terminal.
236236
237-
## Test the MERN application with the Azure Cosmos DB for MongoDB vCore cluster
237+
## Test the MERN application with the Azure Cosmos DB for MongoDB (vCore) cluster
238238
239-
Now, let's validate that the application works seamlessly with Azure Cosmos DB for MongoDB vCore. For this task, populate the pre-existing cluster with seed data using the MongoDB shell and then update the API's connection string.
239+
Now, let's validate that the application works seamlessly with Azure Cosmos DB for MongoDB (vCore). For this task, populate the pre-existing cluster with seed data using the MongoDB shell and then update the API's connection string.
240240
241241
1. Sign in to the Azure portal (<https://portal.azure.com>).
242242
243-
1. Navigate to the existing Azure Cosmos DB for MongoDB vCore cluster page.
243+
1. Navigate to the existing Azure Cosmos DB for MongoDB (vCore) cluster page.
244244
245-
1. From the Azure Cosmos DB for MongoDB vCore cluster page, select the **Connection strings** navigation menu option.
245+
1. From the Azure Cosmos DB for MongoDB (vCore) cluster page, select the **Connection strings** navigation menu option.
246246
247247
:::image type="content" source="media/tutorial-nodejs-web-app/select-connection-strings-option.png" alt-text="Screenshot of the connection strings option on the page for a cluster.":::
248248
@@ -310,7 +310,7 @@ Now, let's validate that the application works seamlessly with Azure Cosmos DB f
310310
311311
| Environment Variable | Value |
312312
| --- | --- |
313-
| `CONNECTION_STRING` | The connection string to the Azure Cosmos DB for MongoDB vCore cluster. Use the same connection string you used with the mongo shell. |
313+
| `CONNECTION_STRING` | The connection string to the Azure Cosmos DB for MongoDB (vCore) cluster. Use the same connection string you used with the mongo shell. |
314314
315315
```output
316316
CONNECTION_STRING=<your-connection-string>
@@ -392,7 +392,7 @@ Deploy the service and client to Azure App Service to prove that the application
392392
--output tsv)
393393
```
394394
395-
1. Use the `open-cli` package and command from NuGet with `npx` to open a browser window using the URI for the server web app. Validate that the server app is returning your JSON array data from the MongoDB vCore cluster.
395+
1. Use the `open-cli` package and command from NuGet with `npx` to open a browser window using the URI for the server web app. Validate that the server app is returning your JSON array data from the MongoDB (vCore) cluster.
396396
397397
```shell
398398
npx open-cli "https://$serverUri/products" --yes
@@ -498,7 +498,7 @@ You aren't necessarily required to clean up your local environment, but you can
498498
499499
## Next step
500500
501-
Now that you have built your first application for the MongoDB vCore cluster, learn how to migrate your data to Azure Cosmos DB.
501+
Now that you have built your first application for the MongoDB (vCore) cluster, learn how to migrate your data to Azure Cosmos DB.
502502
503503
> [!div class="nextstepaction"]
504504
> [Migrate your data](migration-options.md)

0 commit comments

Comments
 (0)