Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hemerajs/hemera-dynamodb-store
Use DynamoDB with Hemera
https://github.com/hemerajs/hemera-dynamodb-store
aws dynamodb hemerajs store
Last synced: 6 days ago
JSON representation
Use DynamoDB with Hemera
- Host: GitHub
- URL: https://github.com/hemerajs/hemera-dynamodb-store
- Owner: hemerajs
- License: mit
- Created: 2017-12-21T18:26:50.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-29T21:25:14.000Z (about 7 years ago)
- Last Synced: 2025-01-10T13:13:06.850Z (10 days ago)
- Topics: aws, dynamodb, hemerajs, store
- Language: JavaScript
- Size: 117 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hemera-dynamodb-store package
[![Build Status](https://travis-ci.org/hemerajs/hemera-dynamodb-store.svg?branch=master)](https://travis-ci.org/hemerajs/hemera-dynamodb-store)
[![npm](https://img.shields.io/npm/v/hemera-dynamodb-store.svg?maxAge=3600)](https://www.npmjs.com/package/hemera-dynamodb-store)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](#badge)This is a plugin to use [DynamoDB](https://aws.amazon.com/dynamodb/) with Hemera
## Install
```
npm i hemera-dynamodb-store --save
```## Example
```js
hemera.use(require('hemera-dynamodb-store'), {
dynamodb: {
endpoint: 'http://localhost:8000',
region: 'eu-west-2'
}
})hemera.ready(() => {
hemera.act({
topic: 'dynamo-store',
cmd: 'create',
collection: 'test',
data: {
id: '12345' ,
name: 'John Doe'
}
}, function (err, resp) {
this.log.info(resp, 'Query result')
})
})```
## Tests
```
npm run test
```## Examples
[Here](/examples) you can find some examples.
## API
See [Store](https://github.com/hemerajs/hemera/tree/master/packages/hemera-store) Interface.
## Dependencies
- hemera-joi