added sample app for client-server authentication

This commit is contained in:
Sahat Yalkabov
2013-11-13 17:16:06 -05:00
parent bf83154066
commit fc5563c70c
29 changed files with 1199 additions and 111 deletions

View File

@@ -21,6 +21,20 @@ app.use(app.router);
app.use(express.static(config.root + '/public'));
/**
* API Controllers
*/
var articles = require('./controllers/articles');
var users = require('./controllers/users');
/**
* API Models
*/
var Article = require('./models/article');
var User = require('./models/user');
/**
* API Routes
*/