egg-y-prisma

1.0.0 • Public • Published

egg-prisma

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-y-prisma --save

Usage

// {app_root}/config/plugin.js
exports.prisma = {
  enable: true,
  package: 'egg-y-prisma'
}

Configuration

config from prisma-binding

// {app_root}/config/config.default.js
exports.prisma = {
  typeDefs: 'config/prisma.graphql',
  endpoint: 'http://localhost:4466'
}

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT

Package Sidebar

Install

npm i egg-y-prisma

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

5.58 kB

Total Files

6

Last publish

Collaborators

  • miyogurt