Permalink
Browse files

readme added

  • Loading branch information...
sectore
sectore committed Dec 16, 2011
1 parent 6a35303 commit 9d2ec92b8b442bbb2e1a026d43beb80a8e796069
Showing with 9 additions and 1 deletion.
  1. +8 −0 README.md
  2. +1 −1 app.coffee
View
@@ -0,0 +1,8 @@
+[![Click on screen shot to run live demo](https://github.com/sectore/nodejs-coffeescript-login/raw/master/wiki/screenshot-nodejs-coffeescript-login.png "Screen shot")](http://nodejs-coffeescript-login.herokuapp.com/)
+
+ git clone https://sectore@github.com/sectore/nodejs-coffeescript-login.git
+ cd nodejs-coffeescript-login/
+ npm install .
+ coffee app.coffee
+
+@author: Jens Krause // [WEBSECTOR.DE](http://www.websector.de)
View
@@ -39,7 +39,7 @@ app.post '/login', (req, res) ->
###
Usually you will check the login data accessing a database or similiar
- For simplicity of this demo it is just hardcoded here
+ For the sake of this demo it just uses hardcoded values here
###
if user.name is 'luke' and user.password is 'skywalker'
res.render 'loggedin', title: "Logged in as #{user.name}", user: user

0 comments on commit 9d2ec92

Please sign in to comment.