An Express Server implemented using GraphQL
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src Remove type based comparison for channel Id's. Sep 20, 2017
.babelrc chore(babelrc): Create babel configuration file Jul 19, 2017
.gitignore
README.md Update README.md Oct 20, 2017
package.json chore(packages): Initialize package.json Jul 19, 2017
server.js Update CORs port Oct 20, 2017

README.md

GraphQL-Express

An simple Express Server implemented using GraphQL and Apollo. This repo is attached to a series of articles with detailed explanations of the implementations:

Part 1: Implementing GraphQL using APollo on an Express Server - Use the master branch.

Part 2: Creating GraphQL Subscriptions in Express - Use the subscriptions branch.

The repo is also linked to another GraphQL-React-Apollo with front end implementations ing React using Apollo with corresponding articles.

Setup and Installation.

Note: Configure the port on the client code to match the CORs origin on this line.

git clone git@github.com:kimobrian/GraphQL-Express.git  #for SSH

git clone https://github.com/kimobrian/GraphQL-Express.git #for HTTPS

cd GraphQL-Express

npm i #Alternatively yarn

npm start #Alternatively yarn start

For any issues with nodemon, install it globally.

npm install nodemon -g # Alternatively yarn global add nodemon

Navigate to localhost to experiment with different queries.

You can explore npx to avoid global installation of modules.