Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: about 2 months ago
JSON representation

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

Awesome Lists containing this project

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