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
- Host: GitHub
- URL: https://github.com/alanbsmith/react-websocket-starter
- Owner: alanbsmith
- Created: 2016-05-18T23:57:06.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-20T22:38:00.000Z (almost 10 years ago)
- Last Synced: 2025-04-23T01:07:03.286Z (about 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 19
- Watchers: 3
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)