title: Google Cloud Functions: Project layout for Github publishing
body: <p>I'm starting with Google Cloud Functions, and I want to use a real editor + github instead of the inline editor.</p>
  
  <p>For an existing Google App Engine Flex(php) project, I've modified it so that it publish on PubSub some data about user.</p>
  
  <p>I want to write a set of functions :</p>
  
  <ul>
  <li>One function that update BigQuery, and post on a topic that a user data has been updated</li>
  <li>Subscribed to this update : Several functions would run on query on BigQueries and store the result in Firebase (for a mobile app to display the data statistics)</li>
  </ul>
  
  <p>Here are some basic questions I couldn't find any answer : </p>
  
  <ul>
  <li>How can I organise my project? What is the expected layout so that GCP can fetch the project from github and run it ?</li>
  <li>[Optional] Can I have multiple file for one function to organise my code ? </li>
  </ul>
  
  <p>I've found this : <a href="https://github.com/PrinceCornNM/generator-firebase-cloud-functions" rel="nofollow noreferrer">https://github.com/PrinceCornNM/generator-firebase-cloud-functions</a>
  but I also read that the Function for firebase was somehow incompatible on a stackoverflow post.</p>