An open API service indexing awesome lists of open source software.

https://github.com/alanbsmith/react-websocket-starter

a starter app for using react with socket.io
https://github.com/alanbsmith/react-websocket-starter

Last synced: 12 months ago
JSON representation

a starter app for using react with socket.io

Awesome Lists containing this project

README

          

# React + Websocket Starter (for [Heroku](https://www.heroku.com/) deployment)

### UP & RUNNING
* `npm install`
* `npm start`
* visit `http://localhost:8080/`

### DEPLOYING TO HEROKU
This app is set up for deployment to Heroku!

Heroku will follow the `postinstall` command in your `package.json` and compile assets with `webpack.prod.config.js`. It runs the Express web server in `server.js`. You'll notice there's a special section set up for running in development.

If you've never deployed a Node app to Heroku (or just need a refresher), they have a really great walkthrough [here](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction).

### OTHER STARTERS
* [React + Node Starter ](https://github.com/alanbsmith/react-node-example)
* [ Marc Garreau's Redux Starter ](https://github.com/marcgarreau/redux-starter)
* [ React + Electron Starter ](https://github.com/alanbsmith/react-electron-starter)
* [ React + Sinatra Example ](https://github.com/alanbsmith/react-sinatra-example)