Right now I have one Git repository for my whole web stack. I have the static files - the HTML files, JS libraries and Backbone.js app - being served from a directory, like, /project/static/js. I'm using Express's static file loading and pointing it at /project/static.
What I'd like to do is the break the project up into front end and back end repos, and when the Express server starts it loads the front end in and serves the static files. What's the best way to do this? I was thinking that I could put the front end in a Node module and have it installed with NPM from Github (or local via npm link) and then somehow reference the static files from that Node module. I've heard of tools like Grunt.js and I've read about using require.js with Node, but what's the right way to do this?