Hello,
There are many tools that exist that accomplish the same thing which can be daunting to a beginner who’s figuring out which tools to use to get their first project done. I would like some advice on which way I should/could go about solving a little web development task I have set for myself. Here’s the situation…
I have a set of directories (Example : cat, dog, bird ) and each directory has a set of images in it (1.jpg, 2.jpg, 3.jpg) . I am using NodeJS with the ‘fs’ or ‘glob’ module to iterate through the directories and get their contents. From there I’d like to use said collected path information and file structure to display information on an end result web page.
The end result page is/can just be a flat simple HTML page with no interaction and would only be re-built if the content changes.
For this simple scenario do I necessarily need to use something like handlebars, pug, or ejs or can ExpressJS handle the generation of the html on the fly?
I know that there is no “Right answer” per-se but just would like advise on where I should sink my teeth in to start is all. Thank you for your time!