0.2.10-alpha.0 • Published 9 months ago

serverless-cqrs.elasticsearch-adapter v0.2.10-alpha.0

Weekly downloads
2
License
ISC
Repository
github
Last release
9 months ago

elasticsearch-adapter

A library that implements the Read Model Adapter interface for storing projections on AWS ElasticSearch.

Methods

build

build({ entityName }, { endpoint )

builds a read-model adapter

Parameters

attributetypedescription
entityNamestringthe name of the entity
endpointstringthe ElasticSearch instance endpoint url

Returns

an object with read model methods

Example

const elasticAdapterBuilder = require('serverless-cqrs.elasticsearch-adapter')
module.exports = elasticAdapterBuilder.build({ 
  entityName: 'todo'
}, {
  endpoint: 'https://xxxxxx.yyy/zzzz/1234',
})
0.2.10-alpha.0

9 months ago

0.2.8-alpha.0

4 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.3

5 years ago

0.0.2

6 years ago

1.0.0

6 years ago