Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scaphold-io/graphql-subscriptions-realtime-starter-kit
Scaphold.io's Starter Kit for building real-time apps with GraphQL Subscriptions
https://github.com/scaphold-io/graphql-subscriptions-realtime-starter-kit
Last synced: about 1 month ago
JSON representation
Scaphold.io's Starter Kit for building real-time apps with GraphQL Subscriptions
- Host: GitHub
- URL: https://github.com/scaphold-io/graphql-subscriptions-realtime-starter-kit
- Owner: scaphold-io
- License: other
- Created: 2016-08-22T15:04:53.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-22T18:36:32.000Z (about 8 years ago)
- Last Synced: 2024-02-15T00:36:14.620Z (7 months ago)
- Language: JavaScript
- Homepage: https://scaphold.io
- Size: 3.92 MB
- Stars: 30
- Watchers: 8
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#Scaphold.io's GraphQL Subscriptions boilerplate
Fork this boilerplate code to get started with GraphQL Subscriptions.
**Demo:**
![GraphQL Subscriptions](https://s3.amazonaws.com/meshboard.scaphold.io/GraphQL_Subscriptions.gif)
**Quickstart:**
1) Go to Scaphold.io (https://scaphold.io).
2) Create an account and dataset.
3) Change the URL in the API manager (config.js) in the boilerplate to point to your unique Scaphold.io API URL.
5) Install dependencies: ```npm install```
4) Run with: ```npm start```
**Deployment:**
*Note: For development, you only need to run ```npm start```*
1) Run ```npm run build``` to transpile ES6 code from the src/ directory to JavaScript in the lib/ directory.
2) Set the environment variable ```process.env.NODE_ENV = 'production'``` to let server.js know to run the code in the lib/ directory.