egg-y-prisma
v1.0.0
Published
egg for prisma binding
Downloads
3
Readme
egg-prisma
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.