import express = require ( "express" ) ; var app = express ( ) ; app . use ( express . static ( __dirname + '/public' ) ) ; app . use ( '/' , express . static ( __dirname + '/public/app' ) ) ; app . listen ( 3000 , function ( ) { console . log ( 'Node app is running on port' , 3000 ) ; } ) ; export var App = app ;