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

https://github.com/gsans/starwars-quotes-graphql-server

Apollo GraphQL Server 2 that broadcasts StarWars quotes
https://github.com/gsans/starwars-quotes-graphql-server

apollo-server graphql-playground starwars-api subscriptions-transport-ws

Last synced: about 1 year ago
JSON representation

Apollo GraphQL Server 2 that broadcasts StarWars quotes

Awesome Lists containing this project

README

          

## Usage

Make sure you install dependencies with `npm i` or `yarn`.

## Run 'nodemon index.js'

```bash
nodemon index.js
[nodemon] 1.19.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node index.js`
Websocket Server is now running on http://localhost:4001/graphql
Server listening at http://localhost:4000/graphql
```

## GraphQL Playground

Open url `http://localhost:4000/graphql` to open the GraphQL Playground.

![alt text](https://camo.githubusercontent.com/9cd8048178aecfafb7bb0b632e593d08560bebed/68747470733a2f2f696d6775722e636f6d2f3649433648756a2e706e67 "GraphQL Playground")