Create two routers -
mountainRangesRouter. Mount them at
Create a route handler with
mountainsRouter to send back the
mountains array in response to a GET /mountains request.
Create a route handler with mountainRangesRouter to send back the
mountainRanges array in response to a GET /mountain-ranges request.