Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 875 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 875 Bytes

React Demo

This demonstration uses Facebook's React. With React as a view layer, we are able to re-use the exact same view code in the browser and in node which is great for SEO, consistency, and fewer bugs.

Install

In your terminal...

git clone [email protected]:DallasNode/react-demo
cd react-demo
npm install
# npm install -g bower (if it's not installed)
bower install
make

Now open up http://localhost:8000 in your browser.

cogs will be running a watcher in the background and recompile your changes on the fly, so feel free to poke around and refresh the page to see your updates. watchy keeps an eye on the server files so that when they change, the server is restarted accordingly.