I'm migrating my Node Express JS App to Azure functions. I've more than 250 Routes in my application.
I went through this microsoft link to shift from Node Express JS to Azure functions (solution repo). What I understood is that I'll have to create azure functions for all the routes. i.e. each route will be a function in itself. I've more than 250 routes in my application so, I'll end up creating 250 function.js
in their own folder, Is there a less painful way to make this migration.
I thought of doing code level routing based, i.e. grouping all API's by a common purpose and create functions for that top-level purpose and then internally route the request using URI passed to the function. Is there a better way to go about it?