1.0.0 • Published 6 years ago
egg-y-prisma v1.0.0
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.
License
1.0.0
6 years ago