Introduction
Connector for mongodb for apollo. It also includes the base model for all context models.
This module is built in ES6 with no transpilation for easier debugging. You have to use Node 6+ to use it.
; const mongoURL = 'mongodb://localshot:27017/test'; const conn = mongoURL { //init express and apollo const context = ; const config = schema pretty : true context ; // launches a new express instance ;};
Model
{ thiscollection ... // mogodb collection }