DC Motor speed control via App

Hi there,

I want to control my 12V DC motor (9Watts / 5000RPM) speed with any Android/iOS App.

Any suggestions about hardware? I know that I need Wifi mini module, but what about speed control? Can I link with this one ? Any suggestions about App?