moleculerjs / moleculer-db

:battery: Database access service mixins for Moleculer
https://moleculer.services/
MIT License
151 stars 122 forks source link
database-adapter microservices moleculer

Moleculer logo

CI test Build Status Coverage Status Maintainability Known Vulnerabilities Discord chat

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

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-2024 MoleculerJS

@moleculerjs @MoleculerJS