To run this app:
npm install run-rs -g
npm install -g mongo-express
At the project root folder run
npm install
Start mongodb with replica sets
run-rs
Populate DB
node populate_db.js
Start node app
node app.js
To test the GraphQL queries through GraphiQL access to localhost:3000/graphql
To interact with mongodb you can use mongo-express
mongo-express -U "mongodb://localhost:27017,localhost:27018,localhost:27019/example?replicaSet=rs"