Road System?

Wondering if anyone has a good working road system. But most importantly is calculating a nearest path ?

There is this Road Editor plugin.

Thanks but I’m not looking for a plugin, I shall be creating my own system just looking for reference. I guess it does depend on how I create the system as to how to find the nearest route / path but have nowhere to start on this.