title: FCM allows data storage of messages?
body: <p>I'm implementing a system where I have an android smart phone that receives data values from a sensor and shall upload this data to a Cloud, where some data processing shall occur and a response is sent back to the smart phone.</p>
  
  <p>I've been reading about Firebase but I'm still confused, will I be able to implement such a behavior for the Cloud through it </p>
  
  <ol>
  <li>stores received data in a database </li>
  <li>does some operations on data received </li>
  <li>responds with a customized reply I define</li>
  </ol>
  
  <p>What I understood is I can use FCM, but does it allow me to store in a database the messages I received? and does it allow me to write a code to perform operations on the received data before sending a reply to the Smart Phone?</p>