Animate curve line to show the path

Hello Guys.. I'm a biginner in premier and after effect and I needed your help on my current project
I'm currently working on a soccer video and i want to make animated line to show the path of the ball like in the video i attached... I want the line to start thinner and gradually increase thickness.. How can i do that in premier or in after effect.
Please suggest me a video or aftereffect template so i can make a mogrt
Any help would be appreciated
