Handle dynamic routing with Express.js