This a code started for the Firebase cloud functions. Check the post here: https://dev.to/omarhoumz // TODO add post link