GraphQL server for Node.js and Mongoose
Advanced GraphQL server for Node.js and Mongoose - using GraphQL Modules.
File name | Description |
---|---|
└── src (directory) |
Contains the source files for your GraphQL server |
├── index.js |
The entry point for your GraphQL server |
├── schema.graphql |
The application main schema that imports models schema definitions defining the API exposed to client applications |
├── resolvers.js |
Contains the implementation of the resolvers for the application schema |
└── middlewares (directory) |
_Contains middlewares implementations _ |
└── item (directory) |
Contains item model files |
└── item.grapghql |
The GraphQL schema definition of the item model |
└── itemModel.js |
The Mongoose schema definition of the item collection |
└── itemQuery.js |
The implementation of Query resolvers of item model |
└── itemMutation.js |
The implementation of Mutation resolvers of item model |
└── itemResolver.js |
The implementation of filed resolvers of item model |
└── placement (directory) |
Contains placement model files |
└── placement.grapghql |
The GraphQL schema definition of the placement model |
└── placementModel.js |
The Mongoose schema definition of the placement collection |
└── placementQuery.js |
The implementation of Query resolvers of placement model |
└── placementMutation.js |
The implementation of Mutation resolvers of placement model |
└── placementResolver.js |
The implementation of filed resolvers of placement model |
Add subscription resolvers.
Your feedback is very helpful, please share your opinion and thoughts!