Skip to content

simtlix/gnx-sample

Repository files navigation

To run this app:

Install

nvm (Node Version Manager)

nvm

run-rs

run-rs

npm install run-rs -g

mongo-express

mongo-express

npm install -g mongo-express

Download npm dependencies

At the project root folder run

npm install

Run

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

Extras

To interact with mongodb you can use mongo-express

mongo-express -U "mongodb://localhost:27017,localhost:27018,localhost:27019/example?replicaSet=rs"

About

Sample project using gnx lib

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •