Front-end only real-time chat app using VueJS and Firebase. Also includes an example of writing a Firebase server-side function. The function simply deletes new messages in the messages collection if the collection size > 10 documents.
This app is Live on Netlify. It auto-builds from this private repository and serves the app which is already connected to Firebase.
Firebase project link. Use the firebase CLI to interact with firebase:
firebase init #already performed to link project to firebase; repeat for new project
firebase deploy --only functions #upload server-side code in functions/ to Firebase
npm install
npm run serve
npm run build