Skip to content

jmn8718/node-gql-subscriptions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-gql-subscriptions

Work in progress

Graphql Server build with node and apollo server. The server also implements the Graphql subscriptions.

Posts

  1. Part 1 - Graphql subscriptions with Apollo server

Requirement

  • node (I use v8)
  • npm
  • docker
  • docker-compose
  • mongodb (No need to have it running if you use docker-compose)

note If you dont want to use docker, you can run it with the npm scripts, but you will have to run a mongodb instance and set the environment variables.

Quickstart

  1. Clone the repo in you local machine git clone https://github.com/jmn8718/node-gql-subscriptions.git
  2. Create a .env file, you can duplicate the .env.example and set your value.
  3. Build the images with docker compose docker-compose build
  4. Start the project with docker compose docker-compose up
  5. Now that the server is up, we can:

Useful links

About

Graphql subscriptions with Apollo server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published