hurricanemark / advancednodejs-express-passport Goto Github PK
View Code? Open in Web Editor NEWA template engine enables the use of static template files (such as those written in Pug) in the app. At runtime, the template engine replaces variables in a template file with actual values which can be supplied by the server. Then it transforms the template into a static HTML file that is sent to the client. This approach makes it easier to design an HTML page and allows for displaying variables on the page without needing to make an API call from the client.