Thursday, 27 April 2017

The simplest way to serve webpages with dynamic content with nodejs + express

I'm building a web application with nodejs and express which has two views, one for writing and submitting the written data to a database, and another one for viewing the data from the database.

What would be the simplest way to serve the html file with the content loaded from the database? Would I need to use a templating engine or is there a simpler way of adding the loaded content to a html file? I'm trying to avoid bloating the app with unnecessary overhead and keeping it as simple as possible.



via Jomppe

No comments:

Post a Comment