Tired of writing a new proxy server every time you need to mock a new backend, or just need a web server for your project? Clone node-proxy-boilerplate, and you are ready to go!
The following paths work if this server is placed in a folder parallell to the Yeoman app:
/the-folder-with-my-yeomanapp
/app
/scripts
/bower_components
/node-proxy-boilerplate
app.use(express.static(path.join(__dirname, '../the-folder-with-my-yeomanapp')));
app.use(express.static(path.join(__dirname, '../the-folder-with-my-yeomanapp/app')));
app.use(express.static(path.join(__dirname, '../.tmp')));
app.use(express.static(path.join(__dirname, '../the-folder-with-my-yeomanapp/dist')));