Example of a GraphQL Node.js backend for a news feed, built with Hapi and SQLite
Clone or download
Latest commit 6d2344b Feb 17, 2016

README.md

graphql-nodejs-newsfeed

Example of graphql nodejs backend with newsfeed, built with hapi and sqlite

Set Up Database

$ sqlite3 db.sqlite3 < scripts/createdb.sql

Run Server

$ npm start

Example Query

$ curl --data "query={ __schema { types { name } } }" localhost:8000