# Realtime Database triggers with Cloud Functions for Firebase - source This gist contains the source code in my video series about Realtime Database triggers. You can watch the three parts here: 1. [Part 1](https://www.youtube.com/watch?v=DglTSNEdl0U) (intro, onCreate) 1. [Part 2](https://www.youtube.com/watch?v=Bdm7QNwSHOg) (onUpdate, infinite loops) 1. [Part 3](https://www.youtube.com/watch?v=TPKA88_FmkA) (onDelete, transactions) `index.ts` contains the Cloud Functions code, and `dialog.ts` contains the script to run locally that simulates the addition of messages to the chat room.