osrm-routed is not really a production HTTP server. It almost certainly has vulnerabilities and does not support anything like full HTTP functionality.
Some work has been done to replace osrm-routed
C++ with a NodeJS/ExpressJS equivalent, but neither has been merged yet. It's on my "I want to get this finished one day" list:
Issue: https://github.com/Project-OSRM/osrm-backend/issues/3832
Pull request: https://github.com/Project-OSRM/osrm-backend/pull/4604
Note that the route.project-osrm.org
demoserver is running the NodeJS version above, not the C++ osrm-routed
server.
There is also this example https://github.com/door2door-io/osrm-express-server-demo, but still uses OSRM v5.16
Nothing actionable here - #3832 and #4604 track the NodeJS osrm-routed
implementation.
Most helpful comment
Some work has been done to replace
osrm-routed
C++ with a NodeJS/ExpressJS equivalent, but neither has been merged yet. It's on my "I want to get this finished one day" list:Issue: https://github.com/Project-OSRM/osrm-backend/issues/3832
Pull request: https://github.com/Project-OSRM/osrm-backend/pull/4604
Note that the
route.project-osrm.org
demoserver is running the NodeJS version above, not the C++osrm-routed
server.