An open API service indexing awesome lists of open source software.

https://github.com/swlkr/generator-graphite

A yeoman generator for node.js graphql apps
https://github.com/swlkr/generator-graphite

Last synced: 10 months ago
JSON representation

A yeoman generator for node.js graphql apps

Awesome Lists containing this project

README

          

# Graphite

Graphite is a [yeoman](http://yeoman.io) generator for node.js graphql apps.

### How's it look?

```bash

|-- .env
|-- .gitignore
|-- .eslintrc
|-- app.js
|-- config.js
|-- README.md
|-- package.json
|-- routes.js
|-- controllers
|-- graphql-controller.js
|-- schema
|-- root.js
```

### Getting Started

```bash
$ npm install -g yo generator-graphite
$ yo graphite
$ ...Answer some questions
$ cd
$ npm run dev # requires node v4 or higher
$ curl -H "Content-Type: application/json" -d '{ "query": "{ hello }" }' localhost:3000/query
```