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: about 2 months ago
JSON representation
Example of a GraphQL Node.js backend for a news feed, built with Hapi and SQLite
- Host: GitHub
- URL: https://github.com/reindexio/graphql-nodejs-newsfeed
- Owner: reindexio
- License: mit
- Created: 2015-07-29T14:21:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-17T17:30:37.000Z (almost 9 years ago)
- Last Synced: 2024-08-01T08:10:10.141Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 127
- Watchers: 8
- Forks: 26
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-graphql - GraphQL Newsfeed Example Repo
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
```