Hey guys,
I'm wondering how do you handle routing in multi-module application?
I've been checking if URI starts with 'backend' and then include backend routes only, or frontend routes otherwise. Although it feels really dirty, I've been using this aproach for two reasons:
- I wanted to separate 404 pages for frontend & backend
- I was afraid I'm going to cripple performance with too many routes (both frontend and backend).
Regarding number 2, how many routes would be "too much" ?