liveBook · Manning

@azure/storage-blob

As explained in Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform

@azure/storage-blob is the npm package that provides JavaScript and Node.js access to Azure Blob Storage.

@azure/storage-blob is the npm package used by JavaScript and Node.js microservices to retrieve files from Azure Blob Storage. A typical setup keeps videos private, authenticates with a storage account, and exposes retrieval through an application endpoint. section 4.4.1

A minimal integration requires:

  • Create an Azure Storage account and a container for the files. section 4.4.1

How Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform covers it

How deep it goes
Demonstrates installation, environment configuration, shared-key authentication, client construction, and endpoint retrieval without covering alternative storage APIs in detail.
Examples
Uses a private video container, an uploaded test video, and an Express endpoint that retrieves videos by path.
What it assumes
Assumes an Azure account and storage-account credentials while introducing storage-account, container, and client setup.
What you can do after
Build it from scratch as a small authenticated microservice that retrieves Azure-hosted videos.
How it connects
Connects Azure Blob Storage with npm, Node.js, microservices, environment variables, and shared-key authentication.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform. The section links point to the parts of the book it draws on.