Skip to content

kimobrian/GraphQL-Express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]: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.

About

An Express Server implemented using GraphQL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published