2.6.0-alpha.0 • Published 5 years ago
@gmatheu-org/gnx v2.6.0-alpha.0
How to
Install
npm install @simtlix/gnx --saveTo use this lib:
- Define your mongoose models
- Define your GraphQL types
- Register models and types using connectfunction for non embedded types andaddNoEndpointTypefunction for embedded ones
- Create the GraphQL schema using createSchemafunction
Test
On this project root directory
npm link
On the test project root directory
npm link @simtlix/gnx
Run test project with preserve-symlinks flag. E.g.:
node --preserve-symlinks app.js
Example
There is a sample of an app using this lib at gnx-sample
2.6.0-alpha.0
5 years ago
2.5.0-alpha.0
5 years ago