I'm currently building a Node app that requires thousands of Express routes to be set up. Every single route should respond with the rendering of the same Handlebars template file with specific information that will be pulled from separate MongoDB documents from the same collection.I certainly do not plan on performing all these tedious copypastas in order to set up these routes. Is there some tool or implicit functionality within Express that allows the automation of the creation of these routes?
Submitted May 02, 2018 at 08:31AM by load_up_on_hummus
No comments:
Post a Comment