Wednesday 12 August 2020

npm firebase

npm firebase


Question: What is firebase?
Firebase provides the tools and infrastructure you need to develop, grow, and earn money from your app.


Question: What is firebase used for?
Firebase is mobile application development platform that helps you build, improve, and grow your app.


Question: Is firebase a backend?
Firebase is a fully managed platform for building Android, iOS, and web apps that provides automatic data synchronization services, authentication services, messaging services, file storage services and analytics etc.


Question: Is firebase free to use?
Both (free and Paid)


Question: What companies use firebase?
  1. Client Platform
  2. Accenture
  3. LaunchDarkly
  4. Bepro Company
  5. ViaVarejo
  6. Stack
  7. Twitch
  8. Instacart



Question: Does firebase provide Crash Reporting?
Yes, Its provide crash reports for both App (android and IOS)


Question: Which language is used in firebase?
The Firebase SDK supports programming in C++, Java, JavaScript, JavaScript/Node. js, Objective-C, and Swift.


Question: Which language is used in firebase?
The Firebase SDK supports programming in C++, Java, JavaScript, JavaScript/Node. js, Objective-C, and Swift.


Question: What does provide the firebase?
Firebase Realtime Database - The Firebase Realtime Database lets you store and query user data, and makes it available between users in realtime.
Cloud Firestore - Cloud Firestore is a flexible, scalable database for mobile, web, and server development from Firebase and Google Cloud Platform.
Firebase Storage - Firebase Storage lets you upload and store user generated content, such as files, and images.
Firebase Cloud Messaging - Firebase Cloud Messaging is a cross-platform messaging solution that lets you reliably deliver messages at no cost.
Firebase Authentication - Firebase helps you authenticate and manage users who access your application.
Create and setup your account - Get started using Firebase for free.


Question: How to use firebase in browser?
//Include the below JS in HTML
https://www.gstatic.com/firebasejs/${JSCORE_VERSION}/firebase.js

//Create the Firebase Object
  var app = firebase.initializeApp({
    apiKey: '',
    authDomain: '',
    databaseURL: '',
    projectId: '',
    storageBucket: '',
    messagingSenderId: ''
  });

Question: How to use firebase with node?
//Install the firebase in node
npm install --save firebase

//Create the Firebase object
var firebase = require('firebase');
var app = firebase.initializeApp({ ... });



Monday 3 August 2020

log analyzer tool for linux - GoAccess

log analyzer tool for linux - GoAccess

Question: What is GoAccess in linux?
GoAccess is an open source real-time web log analyzer and interactive viewer that runs in a terminal.


Question: How GoAccess works?
It analyse the Log file (access.log) which is cotinue in writes by application.



Question: What are the benefits of GoAccess?
  1. Completely Real Time
  2. Nearly All Web Log Formats
  3. Track Application Response Time
  4. Incremental Log Processing
  5. Minimal configuration needed
  6. Visitors
  7. Color Scheme Customizable




Question: Does GoAccess is available for GUI?
Yes, You can watch in Terminal and GUI.


How to install GoAccess in Server?
git clone https://github.com/allinurl/goaccess.git
cd goaccess
autoreconf -fi
./configure --enable-geoip --enable-utf8
make



How to run GoAccess to check the analytics?
goaccess access.log -c




How to check the analytics in HTML page?
goaccess access.log -o report.html --log-format=COMBINED

Now run, https://example.com/report.html



How to check the analytics in HTML page dynamically?
goaccess access.log -o /var/www/html/dynamic.html --log-format=COMBINED --real-time-html

Now run, https://example.com/dynamic.html




Question: Share the Offical website link?
https://goaccess.io/