Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

Repository files navigation

serverless-toolbox

Object stores

An object store is a simple interface to get, put, and delete json documents based on a unique id. This library includes object store implementations for DynamoDB and S3.

export default interface ObjectStore<T> {
  get(id: string): Promise<T | undefined>;
  put(id: string, item: T): Promise<T>;
  delete(id: string): Promise<void>;
  updateState(id: string, action: Action, reducer: Reducer<T>): Promise<T>;
}

API Gateway

This library provides sensible defaults for API Gateway using express. It also provides a websocket subscription service for API Gateway.

Auth

This library provides sensible defaults and helpers for hashing and verifying passwords and dealing with tokens.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages