In this lecture, we're going to install the Firebase SDK, the Firebase SDK is a library for connecting
our application with Firebase Products SDK being short for software development kit.
It'll make our lives easier.
In the resource section of this lecture, I provide a link to the installation page for the SDK.
This page goes into detail on how to install Firebase.
There are two primary options for installing Firebase.
We can install it with a CD and or package.
The Firebase SDK is framework agnostic.
It can be integrated with various JavaScript frameworks.
That's great if we ever need to switch to a different framework.
We can reuse the code written with the Firebase SDK.
On the other hand, it's our responsibility to integrate Firebase into our app.
We would need services to help us expose Firebase functions throughout our app.
Luckily, we don't have to for our project.
We're going to install a specialized package for Angular.
In the resource section of this lecture, I provide a link to a package called Angular Fire.
Angular fire is an official package by the angular team.
It conforms to angular conventions by exporting services for interacting with fire based products.
It works very well with Angular.
We will be using this package in our project.
Open the command line in your editor.
Inside the command line, right, the following command now add angular slash fire.
I'm introducing a new command called Kng AD. Let's talk about it.
We can install package is with the npm install command.
It's the primary method of installing a package.
One of the downsides of installing a package is configuring it with our project.
It would be nice if we could get some help.
The angular Seelye comes with a command for helping us install package is called Nji Add.
It's similar to the npm install command.
The main difference between the two commands is how they handle package installations.
NPM will install a package update, the package file, and that's it.
The angular Seelye will search for installation instructions inside the package if it finds instructions.
They'll be executed.
Packages can configure our project, create files and help us integrate a package into a project.
Not every package can be installed through this command.
It varies from package to package.
Typically, the documentation will inform you if a package can be installed with the Kng Add command.
I always recommend installing a package with the engine and command whenever possible mistakes can happen
during installation to minimize errors.
It's much safer to let a package handle the installation for us.
Let's run the command.
After a few moments, we will be asked if we're sure about installing this package.
We will select Yes.
Some packages may ask additional questions.
The U.S. ally is asking us to select features that should be configured with our project.
We're going to UN select all options for this project.
We're going to slowly introduce each feature as we need them after selecting all options, continue
with the installation.
Firebase has been installed in the next lecture.
We are going to begin importing Firebase into our project.