/moleculer-db

:battery: Database access service mixins for Moleculer

Primary LanguageJavaScriptMIT LicenseMIT

Moleculer logo

Build Status Coverage Status Codacy Badge Maintainability Known Vulnerabilities Join the chat at https://gitter.im/moleculerjs/moleculer

Official DB addons for Moleculer framework

Generals

Name Version Description
moleculer-db NPM version Moleculer service to store entities in database
moleculer-db-adapter-couchdb-nano NPM version CouchDB Nano adapter for Moleculer DB service.
moleculer-db-adapter-mongo NPM version MongoDB native adapter for Moleculer DB service.
moleculer-db-adapter-mongoose NPM version Mongoose adapter for Moleculer DB service
moleculer-db-adapter-sequelize NPM version SQL adapter (Postgres, MySQL, SQLite & MSSQL) for Moleculer DB service
moleculer-db-adapter-prisma NPM version Prisma adapter for Moleculer DB service

Contribution

Install dependencies

$ npm run setup

Development

Run the simple example in moleculer-db service with watching

$ npm run dev moleculer-db

Run the full example in moleculer-db service w/o watching

$ npm run demo moleculer-db full

Test

$ npm test

Create a new addon

$ npm run init moleculer-<modulename>

Publish new releases

$ npm run release

License

The project is available under the MIT license.

Contact

Copyright (c) 2016-2022 MoleculerJS

@moleculerjs @MoleculerJS