RestExposer
A server that exposes the store as a REST API
Constructor Summary
Public Constructor | ||
public |
constructor(config: Object, storeProxy: StoreProxy) Create a new RestExposer instance |
Member Summary
Public Members | ||
public |
server: * |
|
public |
storeProxy: * |
Method Summary
Public Methods | ||
public |
Setup routes for the REST API |
Public Constructors
public constructor(config: Object, storeProxy: StoreProxy) source
Create a new RestExposer instance
Params:
Name | Type | Attribute | Description |
config | Object | Configuration |
|
storeProxy | StoreProxy | Proxy to communicate with the store |