'use strict';

var express = require('express'),
    routes  = require('./app/routes/index.js'),
    app     = express();

'use strict';

var express = require('express'),
    routes  = require('./app/routes/index.js'),
    app     = express();


app.use('/public', express.static(process.cwd() + '/public'));
app.use('/controllers', express.static(process.cwd() + '/app/controllers'));

Use express's functionality for serving static files to create virtual paths that our application can understand. These virtual paths ae now '/public' and '/controllers', which will be routed to the correct physical directory.
Use express's functionality for serving static files to create virtual
paths that our application can understand. These virtual paths ae now
'/public' and '/controllers', which will be routed to the correct
physical directory.
