Where to add a new route in Parse Server

The approach is useful because it gives a standardized way to build custom routes and automatically passes parameters like appId and serverUrl for you to use.

The custom routes are mounted after default routes like password reset and email verification. That means if you accidentally define a custom route with the same name as a built-in route, the request would not reach your custom route.