DEV Community

Discussion on: Has anyone created a Node.js app that renders HTML instead of JSON?

Collapse
 
sam_ferree profile image
Sam Ferree

I started making express apps that rendered pug templates.

Loved the lean syntax.

Sorry I don't have a recommendation on a client side testing framework. I imagine most of the major frameworks use some node library that can probably be ripped out and applied to just inspecting your rendered pages.

Collapse
 
chrisvasqm profile image
Christian Vasquez

I second this.

I was recently introduced to pug and it's really simple to use : )

Collapse
 
pmcgowan profile image
p-mcgowan

I just started using pug templating too. It looks clean (and a bit odd at forst) but server side logic is amazing. You don't even need a framework at that point (for small stuff).