Skip to content

gemane/apollo-subscriptions-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apollo Subscriptions Example

Example

Pinterest style example showing how to setup Apollo Subscriptions.

Blog post: https://www.graphql.college/graphql-subscriptions-with-react-node-apollo-and-postgres/

Technologies

⚛️ React

🚀 Apollo GraphQL

💾 Postgres

Features

Getting started

Requirements

  • Nodejs
  • Postgres

Installation

# Clone repo
git clone https://github.com/GraphQLCollege/apollo-subscriptions-example.git
# Install server dependencies
cd packages/server && yarn
# Setup environment variables
cp .env.example .env
# Create and migrate database
yarn db:create && yarn db:migrate
# Start server
yarn start
# Start client
cd ../client && yarn && yarn start

Packages

No packages published

Languages

  • JavaScript 82.8%
  • CSS 9.4%
  • HTML 7.8%