In my web application, I have a single API backend and two frontends written as single page applications. To simplify deployment, I’d like to serve the API on
/api, the admin dashboard on
/admin, and the end user frontend on
/user (or something similar), all on the same domain.