An experiment to make a simple web app using ExpressJS, React and Redis.
You can find a working demo here.
NOTE: The online demo has a safe-mode that deletes links after 30 minutes, to reduce spam impact.
You'll need a working installation of Redis and NodeJS, then:
- run
npm install
- start a Redis server
- verify/edit settings in
config.js
- run
npm start
- to run it, you can use one of the following commands:
npm start
coffee bin/www
orbin/www
foreman start
(there's a Procfile ready for heroku)
- point your browser to
http://0.0.0.0:4000
(or to a different port if you changed it inconfig.js
)
- Fork it!
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
- run
npm test
(or justgulp
)
Copyright (c) 2014 Andrea Pavoni http://andreapavoni.com