Capturing a sinusoidal signal (100hz)

Hello,
I dont know if it is the right place to ask, But i have a project that i need to capture a sinusoidal signal using the analog inputs on a nucleo-stm32f411re and then send the signal to nodemcu to upload it to the cloud, is there anyway to do it or a documentation that i can start with?