Graphhopper and hybrid app

Hi,

i need to integrate graphhopper into a hybrid app, which is implemented with Ionic Framework. In this project, i cannot use Routing API and the routing process needs to run locally. Is it possible to run graphhopper inside a javascript project?

The best way is to host a routing service on an external server and use a JavaScript client to query it.

There was a JS-only solution but even at that time it was very experimental:

But those solutions will require you to load the entire road graph into the JS VM and at that time this was ok for city-sized graphs but made problems for larger areas especially for mobile applications.