How to use graphhopper?

We are going to use OpenStreetMap to display the optimized driving route of many points in the map. What kind of environment do I need to build in order to achieve this requirement. thanks!