Skip to content

Reimplement osrm-routed in NodeJS #3832

Open
@TheMarex

Description

@TheMarex

Right now we are shipping our own implementation of:

  • HTTP request parser
  • async HTTP server
  • URL parser (including a bunch of grammars for every API)

We can get rid of most of the server/ folder by moving the code to NodeJS which already ships with production quality modules for all of this. After #3768 lands we would not induce a weird cyclic dependency anymore and this becomes feasible.

We should be able to replace most of the boost::spirit code with https://pegjs.org/.

Having this as node-express based tool would also enable us to easily integrate osrm-text-instructions and simplify hooking middle ware like authentication services into this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions