Skip to content

A full-stack reproduction of the popular realtime chat application, Slack (http://slack.com) using React and GraphQL Subscriptions.

License

Notifications You must be signed in to change notification settings

b2bwork/React-Realtime-Chat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A full-stack reproduction of the popular realtime chat application, Slack (http://slack.com) using React and GraphQL Subscriptions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.2%
  • CSS 3.8%