Participants:
Every week we challenge each other to see who makes the better website. Push as a effusive organization repo.
Participants:
Every week we challenge each other to see who makes the better website. Push as a effusive organization repo.
intro to algo | |
discrete mathematics | |
haskell | |
software testing methologies | |
angularjs | |
developing for android |
TeenHacks | |
1841 Beazley Ct | |
Fullerton, CA 92833 |
$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]
$ npm install express-generator -g |
$ express <project name> |
$ express express-blog | |
create : express-blog | |
create : express-blog/package.json | |
create : express-blog/app.js | |
create : express-blog/public | |
create : express-blog/public/javascripts | |
create : express-blog/public/images | |
create : express-blog/public/stylesheets | |
create : express-blog/public/stylesheets/style.css |
extends layout | |
block content | |
h1= title | |
p Welcome to #{title} | |
hr | |
h3 Add a Post | |
form(action="/" method="post") | |
p Title | |
input(type="text" name="title") |
router.get('/', function(req, res) { | |
res.render('index', { title: 'my Blog' }); | |
}); |
var mongoose = require('mongoose'); |