reindexio / graphql-nodejs-newsfeed

Example of a GraphQL Node.js backend for a news feed, built with Hapi and SQLite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Example of a GraphQL Node.js backend for a news feed, built with Hapi and SQLite

License:MIT License


Languages

Language:JavaScript 100.0%