Realtime View Counter using Firebase Database
Realtime View Counter using Firebase Database After a long time, I am back with an article titled "Realtime View Counter using Firebase Database". Today, I am going to share a Firebase Realtime Database Project that counts Post Views or any event. This is my first project I have tried with Typescript and Firebase v9. As it uses Firebase Javascript SDK , the size of the bundle is a little bit large. I tried using the Firebase Database REST API but the response was quite slower than SDK, so I had to use the Javascript SDK for a better performance. Using it as View Counter You can use it as a View Counter for your post just by specifying the path. Let's try adding it to a Blogger Website. Important! Before we start adding codes in XML, I will recommend you to take a Backup of your current theme. By chance if any problem occurs, you can restore it later. Step 1: First of all Login to your Blogger Dashboard. Step 2: On Blogger Dashboard, click Theme . Step 3: Click the arrow down icon …