Go ProSign in

This Lesson is for Members

Subscribe today and get access to all lessons! Plus direct HD download for offline use, enhances transcripts, member comment forums, and iTunes "podcast" RSS feed. Level up your skills now!

Unlock This Lesson

Already subscribed? Sign In

Getting Started with Express.js

Getting Started with Express.js


    Organize Code by Subpath in Express

    Ben ClinkinbeardBen Clinkinbeard

    As your application grows, it's easy to end up with a long list of route handlers and helper functions. In this lesson we'll look at strategies for keeping things organized and manageable.

    We will move individual subpaths into their own file by using .router to create an instance of the Express router.

    You must be a Member to view code