A Proof of Concept real-time single page application based on React and (Re)flux to discover best practices regarding a multitude of use cases. Contains a simple server with in-memory database in ./server
.
Demo on Heroku
(Automatically deployed from this repository on travis build)
$ npm install
in the ./server directory$ node src/server.js
. Should open a port on 8080.npm install -g gulp
$ npm install
in the base directory$ node src/server.js
. Should open a port on 8080.$ gulp
in the base directory. This will watch for file changes and build when necessary.Tested using npm 2.1.0 and node 0.10.33
Proof of concept <
Create a more advanced example (w.r.t. your average TODO app) of creating a SPA using ReactJS. Initially as a personal exercise to go through the mud once while hoping to share new insights gained during the process and discuss various approaches.
This will be by no means a production ready application. Objectives and goals are subject to change.
Home page
+---------------------------------------------------------------------------+
| Logo Account Updates(5) |
| +----------+ +-----------+ +-------------+ +-------------+ +-----------+ |
| | Home | | Questions | | Discussions | | About | | Chat | |
| +----------+ +-----------+ +-------------+ +-------------+ +-----------+ |
| |
+---------------------------------------------------------------------------+
| Homepage |
| |
| List of updates |
| |
+---------------------------------------------------------------------------+
|(c) notice |
+---------------------------------------------------------------------------+
[06-jan-14] Added demo app to heroku
[01-dec-14] Improving isomorphic rendering
[30-nov-14] Isomorphic app support
[24-nov-14] Sessions (login/logout/profile); html5 puhsState; single server
[22-nov-14] Initial version