Strava is a free application designed for athletes to register, count and share races and rides with friends. It has versions for Android and iOS.
Strava not only records the route you take, but also works as a social network, allowing you to share and like what your friends post.
This app also measures various factors such as distance, average and maximum speed, altitude, heart rate and routes. You can also check your history.
With Strava you can explore new trails and see which routes your friends have taken. It's a good way to meet other cyclists and gauge your performance over time.

You can consult Bikesul's Strava club.