Writing Modular Node.js Projects for Express and Beyond

added by JavaScript Kicks
10/23/2014 2:19:11 PM


I have worked with Express for over four years now and I cannot count how many different ways I have reorganized my code! Express bills itself as an un-opinionated framework. This is true. If you search for “express boilerplate” you will find a lot of different ways to organize your project. In my experience, there isn’t “one best way” to structure a project. If you are looking for that, you probably won’t find it. That’s not to say there aren’t things that work better than others.


Drew Peterson
10/24/2014 1:50:06 PM
Maybe it's a bit of ignorance on my part, but would bundling the application for deployment remove the dependency on the _ symlink for requiring modules after deployment, or would that symlink need to be created on the server in order for the application to run?