Skip to content

MarkNjunge/GraphQL-Node.js-sample

Repository files navigation

GraphQL Node.js Sample

Heroku

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

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.

About

A GraphQL backend sample app written in Node.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published