Ecosyste.ms: Awesome

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

https://github.com/reindexio/graphql-nodejs-newsfeed

Example of a GraphQL Node.js backend for a news feed, built with Hapi and SQLite
https://github.com/reindexio/graphql-nodejs-newsfeed

Last synced: 3 months ago
JSON representation

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

Lists

README

        

# 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
```