node package manager

areas

Areas - express routing for large projects

Areas - express routing for large projects

• add an /areas directory

• add your areas (ex: api, home, profile)

• add routing files to areas (ex: apiV1.js)

Areas will automatically find and wire up all your routes, keeping your app.js clean.