Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 987 Bytes

File metadata and controls

36 lines (19 loc) · 987 Bytes

Sample code - NestJS, express-handlebars

Part of a personal list of random samples code

Quick sample code for using express-handlebars as a template engine in NestJS

Notes

  • Uses Layouts, Partials and Helpers

Routes

Some routes to show different template engine features

  • http://localhost:3000/ : Basic use.

  • http://localhost:3000/name : How to use a simple helper.

  • http://localhost:3000/layout : How to change the layout used by the engine.

  • http://localhost:3000/array : How to display an array.

BuyMeACoffee

Buy Me A Coffee

Disclaimer

This code is not and will never be maintained. It is just some random sample code.

Feel free to copy and make any change you like.

License ISC © 2021 AudiBookning