In order to be able to support dynamic data across your website we’ve added the support to integrate Firebase. This will allow you to use the views feature across lists and posts.
Create a new project
Select analytics location
Setup firebase in Blowfish by getting the variables for your project and setting them inside
Setup Firestore - Select Build and open Firestore. Create a new database and choose to start in production mode. Select server location and wait. Once that is started you need to configure the rules. Just copy and paste the file below and press publish.
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if request.auth != null;
}
}
}
- Enable anonymous authorization - Select Build and open Authentication. Select get started, click Anonymous and turn it on, save.
- Enjoy - you can now activate views and likes on Blowfish for all (or specific) articles.