This is the frontend served at https://map.project-osrm.org.
This frontend is builds heavily ontop of Leaflet Routing Machine. If you need a simple OSRM integration in your webpage, you should start from there.
Run this in the root folder:
npm install
make