Simple redis backed todo app.
JavaScript Other
Latest commit fc1740a Nov 11, 2016 @amirrajan committed on GitHub Merge pull request #5 from nikhilthombare/master
Make simplicity in code.

README.md

Todo App (MIT License)

Simple redis backed todo app.

Install Node and Redis

Go to http://nodejs.org and install NodeJS

Go to http://redis.io/download and install Redis

Run Locally

Make sure your redis server is running, you can run the following command to start it up:

redis-server

Install all the dependencies:

npm install (you may need to prefix this with sudo if you're on Mac)

Run the app:

node server.js

Then navigate to http://localhost:3000

Signing up, and deploying to Heroku

Documentation

From heroku.com, click Documentation, then click the Getting Started button, then click Node.js from the list of options on the left...which will take you here: https://devcenter.heroku.com/articles/nodejs

Install Heroku toolbelt from here: https://toolbelt.heroku.com/

Sign up via the website (no credit card required).

Login using the command line tool:

heroku login

Create your heroku app:

heroku create

Add redis to your app

heroku addons:add redistogo:nano

The Redis connection in Heroku is provided by an enviornment variable process.env.REDISTOGO_URL.

Git deploy your app:

git push heroku master

Open the app (same as opening it in the browser):

heroku open

And your app should be up on Heroku.