0.1.4 • Published 7 years ago

fluent-for-dynamodb v0.1.4

Weekly downloads
-
License
BSD
Repository
gitlab
Last release
7 years ago

Fluent

Fluent is a wrapper around the AWS DynamoDB SDK for node. Fluent's goal is to make it easier to work with the AWS SDK while staying true to the DynamoDB way of doing things. Wherever possible, it uses the termonology set forth in the AWS SDK.

Quick Start

$ npm install --save fluent-for-dynamodb
import Fluent from 'fluent-for-dynamodb';
const f = new Fluent(config);

f.table('Movies')
  .get({title: 'Fantastic Beasts'})
  .run()
  .then(movie => {
    console.log(movie.title); // Fantastic Beasts
  })
  .catch(err => {
    console.error(err);
  });

Deeper Dive

Read through the full documentation here.

Contributing

Running DynamoDB locally

First you will want to follow this guide by AWS to install a local instance of DynamoDb. You will want it for development. It also provides an interactive shell that is great for learning Dynamo.

Alternatively, you could run a docker image...

$ docker run -p 7777:7777 trevorhanus/dynamodb-local

Testing

clone repo

$ git clone <clone url>

install dependencies

$ npm install

run tests

$ npm test
0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago