If you go out to git hub
i have a very small app with some architecture for restful webservices, i have models for each of my data fragments, i have controllers for each of these models. The main element that sticks out to me is my router section. In app.js
app.use('/api/issue', issueWebsiteRouter); // appRouter called when /api/issue is reached, should be issueRouter refactor
// app.use('/api/project', projectRouter);
i would have to call a seperate router for extension, /issue, or /issue/website or /issue/mobile, it seems like these router files are going to grow exponentially, which iam ok with on my controller and models.
It does seem somewhat neccesary as the router defines by get or put etc functions and those could be quite different
I am very new to node.js and i feel like I have seperated out things well but looking for suggestions from the community on architecture and scalable ways to handle routing.