@lund-org/cherry-typeorm-connector

0.0.6 • Public • Published

Cherry Typeorm Connector

Build Status Maintainability Test Coverage

A plugin to use Typeorm as the orm in cherry 🍒

Installation

Use the package manager npm to install Cherry Typeorm Connector.

npm install @lund-org/cherry-typeorm-connector

To start the tests, a docker-compose is available.

docker-compose.exe -f etc/docker-compose.yml up -d

Usage

Checkout the example in the example folder of cherry. Of course, you need a cherry app to use this connector :

const Cherry = require('@lund-org/cherry')
const CherryTypeormConnector = require('@lund-org/cherry-typeorm-connector')

const options = {
  ...
  plugins: [CherryTypeormConnector]
  ...
}

const cherry = new Cherry()
cherry.configure(options)
cherry.start(options)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Package Sidebar

Install

npm i @lund-org/cherry-typeorm-connector

Weekly Downloads

3

Version

0.0.6

License

MIT

Unpacked Size

7.15 kB

Total Files

4

Last publish

Collaborators

  • jumastro
  • lund
  • lund-deploy