Express 104: View Templates

NodeJS Course


This lesson is fun! You’ll be setting up several views, and you’ll start to see your Application come together. We’ll finally get to see our data showing up in the browser! This is a long lesson that is broken up into several sub-lessons, so make sure you click through to see them all.

Learning outcomes

By the end of this lesson, you should be able to do the following:

  • Describe asynchronous functions.
  • Manage asynchronous operations in controller functions.
  • Manage flow control when using asynchronous operations.
  • Create and extend templates.
  • Write templates using Pug.
  • Pass information to a template from your view.
  • Implement read-only pages.
  • Describe how routes work.
  • Describe how views and models work in practice.
  • Query database using models.
  • Describe date handling using luxon.


  1. Let’s get back to Express tutorial on MDN.

Additional resources

This section contains helpful links to related content. It isn’t required, so consider it supplemental.

  • It looks like this lesson doesn’t have any additional resources yet. Help us expand this section by contributing to our curriculum.