3 ms·
Good tips. Another I'd add is using the express-resource module for routing. https://github.com/visionmedia/express-resource/ https://github.com/visionmedia/ex
by mcantelon 14y ago
Good tips. Another I'd add is using the express-resource module for routing.
https://github.com/visionmedia/express-resource/ https://github.com/visionmedia/express-resource/
- calvinfo 14y agoExpress-resource is cool - I haven't gotten the chance to use it in a project yet so I can't comment too much on it. Our app isn't grouped strictly into resources, though it's something we might be able to benefit from. Currently we use different pieces of middleware to load whatever items the route needs.