https://github.com/marknjunge/graphql-node.js-sample
A GraphQL backend sample app written in Node.js.
https://github.com/marknjunge/graphql-node.js-sample
Last synced: 12 months ago
JSON representation
A GraphQL backend sample app written in Node.js.
- Host: GitHub
- URL: https://github.com/marknjunge/graphql-node.js-sample
- Owner: MarkNjunge
- License: unlicense
- Created: 2017-09-22T04:22:13.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-03T18:29:03.000Z (over 8 years ago)
- Last Synced: 2025-08-07T00:47:38.490Z (12 months ago)
- Language: JavaScript
- Size: 53.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# GraphQL Node.js Sample

A GraphQL backend sample app written in Node.js.
A live version can be found at https://graphql-sample.herokuapp.com/
## Architecture
## Installation
```
git clone https://github.com/MarkNjunge/GraphQL-Node.js-sample.git
cd GraphQL-Node.js-sample && yarn
```
Add a **.env** file in the root path. See [.env.sample](/.env.sample)
## Usage
1. Run using `yarn start` or `yarn server` for a live server.
2. The GraphQL endopoint will start on `localhost:3000/graphql`. In browser IDEs are available at `localhost:3000/playground` (preferred) and `localhost:3000/graphiql`.
Subscriptions will only work using Graphiql.