@mzinga/db-mongodb
v0.1.3
Published
The officially supported MongoDB database adapter for MZinga
Downloads
268
Readme
MZinga MongoDB Adapter
Official MongoDB adapter for MZinga.
Installation
npm install @mzinga/db-mongodbUsage
import { buildConfig } from 'mzinga/config'
import { mongooseAdapter } from '@mzinga/db-mongodb'
export default buildConfig({
db: mongooseAdapter({
url: process.env.DATABASE_URI,
}),
// ...rest of config
})More detailed usage can be found in the MZinga Docs.
