Azure Storage Blob Upload from a Node.js Web Application using the v10 SDK
This sample demonstrates how to use the Azure Storage v10 SDK in the context of an Express application to upload images into Azure Blob Storage.
Clone the repository to your machine:
git clone https://github.com/Azure-Samples/storage-blob-upload-from-webapp-node-v10.git
Change into the
Install dependencies via
Adding your storage account name and key
Navigate to your storage account in the Azure Portal and copy the account name and key (under Settings > Access keys) into the
.env.example file. Save the file and then rename it from
Running the sample
Start the server:
Navigate to http://localhost:3000 and upload an image to blob storage.
You can use the Azure Storage Explorer to view blob containers and verify your upload is successful.