0.49.0 • Published 2 years ago

bgio-azure-storage v0.49.0

Weekly downloads
12
License
MIT
Repository
github
Last release
2 years ago

bgio-azure-storage

NPM Version CI Status Coverage Status

Azure Storage database connector for boardgame.io

This package provides a database connector that allows you to use an Azure Storage account to store boardgame.io metadata and game state.

Installation

npm install --save bgio-azure-storage

Usage

const { AzureStorage } = require('bgio-azure-storage');
const { BlobServiceClient } = require('@azure/storage-blob');
const { Server } = require('boardgame.io/server');
const { MyGame } = require('./game');

const database = new AzureStorage({
  client: BlobServiceClient.fromConnectionString('enter your connection string here'),
  container: 'boardgameio',
});

const server = Server({
  games: [MyGame],
  db: database,
});

server.run(8000);
0.49.0

2 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago