Skip to content

Latest commit

 

History

History
50 lines (41 loc) · 1.53 KB

README.md

File metadata and controls

50 lines (41 loc) · 1.53 KB

React-GraphQL-Subscriptions-Starter

A full-stack reproduction of the popular realtime chat application, Slack (http://slack.com) using React and GraphQL Subscriptions. This stack was built with a focus on scalability, efficiency, performance, and simplicity. It is intended to be a working starting point for any future projects using GraphQL Subscriptions in React.

Stack

  • React (w/ Server-side Rendering)
  • GraphQL Subscriptions (live data updates)
  • Redux
  • Apollo
  • Express
  • Webpack
  • Babel (using ES7)
  • React-Hot-Reloader
  • PostCSS
  • Eslint

Getting Started

Installation

git clone https://github.com/adamjking3/React-GraphQL-Subscriptions-Starter.git
cd React-GraphQL-Subscriptions-Starter
npm install

Running in Development

npm run dev

Building for Production

npm start

Heroku

You can create your own Heroku server or view the example: https://slack-in-react.herokuapp.com

heroku create
git push heroku master
heroku addons:create heroku-postgresql:hobby-dev
heroku ps:scale web=1 && heroku open

Contributing

I am more than happy to accept external contributions to the project in the form of feedback, bug reports, and of course - pull requests :)

Ease of understanding and simplicity are important to the longevity of this boilerplate, so if you find a simpler way of doing something, feel free to share!


Made by Adam King, Copyright © 2016, licensed under the MIT License.