You did a great job in organizing the route paths and route functions. I'm still on the fence myself on the naming scheme of menuItemRoutes / menuItemMW for example. As, it's not really clear what that 'MW' stands for. If that makes any sense. A pattern like 'menuItemRoutes / menuItemControlle' would also do. However, I won't fault you too much for this one as the code in your statements are mostly well organized.
Thanks for the review! The MW stood for Middleware. I was defining all of my middleware functions in that file, exporting them, then mounting them to my routes.
https://github.com/ajohnson10209/CodeacademyBuildWebAPICapstone/tree/master/capstone-project-2-expresso/api
You did a great job in organizing the route paths and route functions. I'm still on the fence myself on the naming scheme of menuItemRoutes / menuItemMW for example. As, it's not really clear what that 'MW' stands for. If that makes any sense. A pattern like 'menuItemRoutes / menuItemControlle' would also do. However, I won't fault you too much for this one as the code in your statements are mostly well organized.