You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-app-configuration/quickstart-javascript-provider.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Quickstart for using Azure App Configuration with JavaScript apps | Microsoft Docs
2
+
title: Quickstart for using Azure App Configuration with JavaScript apps
3
3
description: In this quickstart, create a Node.js app with Azure App Configuration to centralize storage and management of application settings separate from your code.
4
4
services: azure-app-configuration
5
5
author: eskibear
@@ -15,15 +15,18 @@ ms.author: yanzh
15
15
16
16
In this quickstart, you will use Azure App Configuration to centralize storage and management of application settings using the [Azure App Configuration JavaScript provider client library](https://github.com/Azure/AppConfiguration-JavaScriptProvider).
17
17
18
-
The JavaScript App Configuration provider is a library running on top of the [Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration), helping JavaScript developers easily consume the App Configuration service. It enables configuration settings to be used like a Map.
18
+
App Configuration provider for JavaScript is built on top of the [Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration) and is designed to be easier to use with richer features.
19
+
It enables access to key-values in App Configuration as a `Map` object.
20
+
It offers features like configuration composition from multiple labels, key prefix trimming, automatic resolution of Key Vault references, and many more.
21
+
As an example, this tutorial shows how to use the JavaScript provider in a Node.js app.
19
22
20
23
## Prerequisites
21
24
22
25
- An Azure account with an active subscription. [Create one for free](https://azure.microsoft.com/free/).
23
26
- An App Configuration store. [Create a store](./quickstart-azure-app-configuration-create.md#create-an-app-configuration-store).
24
27
-[LTS versions of Node.js](https://github.com/nodejs/release#release-schedule). For information about installing Node.js either directly on Windows or using the Windows Subsystem for Linux (WSL), see [Get started with Node.js](/windows/dev-environment/javascript/nodejs-overview)
25
28
26
-
## Add a key-value
29
+
## Add key-values
27
30
28
31
Add the following key-values to the App Configuration store. For more information about how to add key-values to a store using the Azure portal or the CLI, go to [Create a key-value](./quickstart-azure-app-configuration-create.md#create-a-key-value).
29
32
@@ -35,7 +38,9 @@ Add the following key-values to the App Configuration store. For more informatio
35
38
36
39
## Setting up the Node.js app
37
40
38
-
1. In this tutorial, you'll create a new directory for the project named *app-configuration-quickstart*.
41
+
In this tutorial, you'll create a Node.js console app and load data from your App Configuration store.
42
+
43
+
1. Create a new directory for the project named *app-configuration-quickstart*.
39
44
40
45
```console
41
46
mkdir app-configuration-quickstart
@@ -105,7 +110,7 @@ Add the following key-values to the App Configuration store. For more informatio
105
110
To run the app locally using the Windows command prompt, run the following command and replace `<app-configuration-store-connection-string>` with the connection string of your app configuration store:
Copy file name to clipboardExpand all lines: articles/azure-app-configuration/quickstart-javascript.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ Add the following key-value to the App Configuration store and leave **Label** a
77
77
To run the app locally using the Windows command prompt, run the following command and replace `<app-configuration-store-connection-string>` with the connection string of your app configuration store:
0 commit comments