Before you begin developing and or if you are a tester and just need to be running Azure Durable Functions in JavaScript, ensure you have the following prerequisites installed:
-
Node.js (v16 or newer recommended)
- Download Node.js
- Check your installation with:
node -v
-
npm (Node Package Manager)
- npm is bundled with Node.js. Verify with:
npm -v
- npm is bundled with Node.js. Verify with:
-
Azure Functions Core Tools (v4 or newer)
- Enables local development and testing of Azure Functions.
- Install globally using npm:
npm install -g azure-functions-core-tools@4 --unsafe-perm true
- Azure Functions Core Tools documentation
-
Azure Durable Functions npm Package
- Required for creating orchestrations and activities.
npm install durable-functions
- Required for creating orchestrations and activities.
-
Azurite (Optional, for Local Azure Storage Emulator)
- Useful for emulating Azure Blob/Queue/Table storage locally.
npm install -g azurite
- Azurite documentation
- Useful for emulating Azure Blob/Queue/Table storage locally.
-
Azure Storage Explorer (Recommended)
- A free tool for managing your Azure Storage accounts and local Azurite emulator.
- Download: Azure Storage Explorer
- Allows you to browse, upload, and download blobs, queues, and tables.
-
An IDE or Code Editor
- Visual Studio Code is highly recommended.
-
An Azure Account (Optional for deployment)
- Sign up for a free Azure account
- Not required for local development and testing.
After installing these prerequisites, you’re ready to create and run Azure Durable Functions in JavaScript!