How i can create server api map with my algorithm (nodejs, php, ...) use in localhost from source graphhopper

How i can create server api map with my algorithm (nodejs, php, …) use in localhost from source graphhopper