@ntegral/nestjs-azure-table
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

Description

Azure Database (Table Storage, Cosmos DB and more) module for Nest framework (node.js)

Tutorial

Learn how to get started with Azure table storage for NestJS

Before Installation

For Table Storage

  1. Create a Storage account and resource (read more)
  2. For Table Storage, In the Azure Portal, go to Dashboard > Storage > your-storage-account.
  3. Note down the "Storage account name" and "Connection string" obtained at Access keys under Settings tab.

Installation

$ npm i --save "@ntegral/nestjs-azure-table

Usage

For Azure Table Storage support

  1. Create or update your existing .env file with the following content:
AZURE_STORAGE_CONNECTION_STRING=
  1. IMPORTANT: Make sure to add your .env file to your .gitignore! The .env file MUST NOT be versioned on Git.

  2. Make sure to include the following call to your main file:

if (process.env.NODE_ENV !== 'production') require('dotenv').config();

Dependencies (4)

Dev Dependencies (21)

Package Sidebar

Install

npm i @ntegral/nestjs-azure-table

Weekly Downloads

9

Version

1.0.8

License

ISC

Unpacked Size

48.8 kB

Total Files

36

Last publish

Collaborators

  • ntegral