Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

readme added

  • Loading branch information...
commit 9d2ec92b8b442bbb2e1a026d43beb80a8e796069 1 parent 6a35303
Jens Krause authored December 16, 2011

Showing 2 changed files with 9 additions and 1 deletion. Show diff stats Hide diff stats

  1. 8  README.md
  2. 2  app.coffee
8  README.md
Source Rendered
... ...
@@ -0,0 +1,8 @@
  1
+[![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/)
  2
+
  3
+	git clone https://sectore@github.com/sectore/nodejs-coffeescript-login.git
  4
+	cd nodejs-coffeescript-login/
  5
+	npm install .
  6
+	coffee app.coffee
  7
+
  8
+@author: Jens Krause // [WEBSECTOR.DE](http://www.websector.de)
2  app.coffee
@@ -39,7 +39,7 @@ app.post '/login', (req, res) ->
39 39
 
40 40
 	###
41 41
 	Usually you will check the login data accessing a database or similiar
42  
-	For simplicity of this demo it is just hardcoded here
  42
+	For the sake of this demo it just uses hardcoded values here
43 43
 	###
44 44
 	if user.name is 'luke' and user.password is 'skywalker'
45 45
 		res.render 'loggedin', title: "Logged in as #{user.name}", user: user

0 notes on commit 9d2ec92

Please sign in to comment.
Something went wrong with that request. Please try again.