generator-graphite
v2.0.0
Published
Yeoman generator for io.js graphql apps
Downloads
8
Readme
Graphite
Graphite is a yeoman generator for node.js graphql apps.
How's it look?
<your project name>
|-- .env
|-- .gitignore
|-- .eslintrc
|-- app.js
|-- config.js
|-- README.md
|-- package.json
|-- routes.js
|-- controllers
|-- graphql-controller.js
|-- schema
|-- root.js
Getting Started
$ npm install -g yo generator-graphite
$ yo graphite
$ ...Answer some questions
$ cd <your project name>
$ npm run dev # requires node v4 or higher
$ curl -H "Content-Type: application/json" -d '{ "query": "{ hello }" }' localhost:3000/query