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.
- React (w/ Server-side Rendering)
- GraphQL Subscriptions (live data updates)
- Redux
- Apollo
- Express
- Webpack
- Babel (using ES7)
- React-Hot-Reloader
- PostCSS
- Eslint
git clone https://github.com/adamjking3/React-GraphQL-Subscriptions-Starter.git
cd React-GraphQL-Subscriptions-Starter
npm install
npm run dev
npm start
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
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.