NodeJS

Express 104: View Templates

NodeJS Course

Introduction

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.

Lesson overview

This section contains a general overview of topics that you will learn in this lesson.

  • 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.

Assignment

  1. Complete part 5 of the MDN Express tutorial.

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.

Support us!

The Odin Project is funded by the community. Join us in empowering learners around the globe by supporting The Odin Project!