Integration yeoman 1.0 with express

I have an AngularJs web application that I am building with Yeomen, I would like to integrate Express into the mix. The last part is that I'm stuck. I have Yeoman (1.0) aka Yo, which mainly uses Grunt and Bower, but unfortunately serves all the files from its static server.
How can I write a GruntFile so that Yeoman 1.0 works with Express, and not Yo, baked on the server, and what should be the structure of the dir project.

Any help would be greatly appreciated.

+4
source share
1 answer

You can replace grunt-contrib-connect , which is the default Yeoman, with grunt-express . It accepts a server configuration parameter that you can use to provide custom logic for specific routes.

+1
source

All Articles