Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/themost-framework/memory

MOST Web Framework in-memory data adapter for testing environments
https://github.com/themost-framework/memory

adapter data orm

Last synced: about 7 hours ago
JSON representation

MOST Web Framework in-memory data adapter for testing environments

Awesome Lists containing this project

README

        

[![https://nodei.co/npm/@themost%2Fmem.png?downloads=true&downloadRank=true&stars=true](https://nodei.co/npm/@themost%2Fmem.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/@themost%2Fmem)

# themost-mem
MOST Web Framework in-memory data adapter for testing environments

This repository contains an in-memory data adapter for developing applications and services under [MOST Web Framework 2.0 Codename Blueshift](https://github.com/themost-framework/themost)

### Installation:

npm install @themost/mem

### Application Configuration:

Add in-memory data data adapter to available adapter types:

"adapterTypes": [
...
{ "name":"Memory Data Adapter", "invariantName": "memory", "type":"@themost/memory" }
...
],
adapters: [
...
{
"name":"local-storage", "invariantName":"memory", "default":true,
"options": {
}
}
...
]
}

Note: If you are intending to use memory data adapter as the default adapter mark it as `"default": true` while setting application configuration.