1.0.0 • Published 6 years ago

egg-y-prisma v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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