Stop 05 · Express.js & Web FrameworksTopics · 11/14

Templating (EJS/Pug)

Part of the Backend Developer Roadmap

In short

Server-side templating engines that let Express render dynamic HTML pages directly from the backend — less common now with API + frontend-framework architectures, but still used for emails and simple server-rendered apps.

How to learn this

  1. 1Render a dynamic page with EJS, passing data from a route handler.
  2. 2Build an HTML email template using a templating engine.
  3. 3Understand why most modern apps separate the API from HTML rendering with a frontend framework instead.

More topics at this stop

Stuck on this topic? Ask an Insider

Get 1:1 guidance from people who've walked this exact path — on the InsideEdge app.

Download
InsideEdge