Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug #27

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

bug #27

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added .DS_Store
Binary file not shown.
11 changes: 9 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@
var express = require('express');
var http = require('http');
var path = require('path');
var handlebars = require('express3-handlebars')
var handlebars = require('express3-handlebars');

var index = require('./routes/index');
var record = require('./routes/record');
var forum = require('./routes/forum');
var help = require('./routes/help');
var profile = require('./routes/profile');
// Example route
// var user = require('./routes/user');

Expand Down Expand Up @@ -37,7 +41,10 @@ if ('development' == app.get('env')) {
app.get('/', index.view);
// Example route
// app.get('/users', user.list);

app.get("/record",record.viewR);
app.get("/help",help.viewHelp);
app.get("/forum",forum.viewForum);
app.get("/profile",profile.viewProfile);
http.createServer(app).listen(app.get('port'), function(){
console.log('Express server listening on port ' + app.get('port'));
});
11 changes: 11 additions & 0 deletions data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

{
"data":[
{
"name": "Elias",
"age": "50",
"city": "San Diego",
"state": "California"
}
]
}
1 change: 1 addition & 0 deletions node_modules/.bin/handlebars

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/semver

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/uglifyjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 58 additions & 0 deletions node_modules/amdefine/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

171 changes: 171 additions & 0 deletions node_modules/amdefine/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading