denim-monk-db-factory
Factory utility for configuring monk db across platform applications
Getting Started
yarn add denim-monk-db-factory
Prerequisites
None
Installing
Clone the repo
git clone https://github.com/denimlabs/denim-monk-db-factory.git
import
import { getMonkDb, makeDbOptions } from 'denim-monk-db-factory'
// DATABASE SETUP
const dbOptions = makeDbOptions(config.DB)
const db = getMonkDb(dbOptions)
//use db as a normal monk addapter
Running the tests
yarn test
Deployment
yarn publish
Built With
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
License
This project is licensed under the MIT License - see the LICENSE.md file for details