Lesson

Getting started with Handlebars and Express for server side rendering.

This lesson will help get you started on using handlebars templates with Express.

Duration
7 min
Access
Free
Transcript
Available

This lesson will help get you started on using handlebars templates with Express.

We start with a basic Express application and build out an example HTML invoice using an default layout and template.

We then inject some data into the template and finally cover creating a simple helper.

We only touch on built in helpers but more can be found at Handlebars Block Helpers.

The example application uses Winston logging and a lesson on that can be found here

We don't cover any package installs so use the Github code to get a list of the required packages from npm.