Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Hi there, welcome, Becky, then your lecturer in the previous one of you have specified and namespace
option a two our exchange module in this lecture to start with something can.
I will introduce you, Firebase, and it will initialize Firebase in their applications.
So let's start.
Open your tap in your browsers and let's type there.
Firebase St plays that as a firebase here.
You should immediately search here for Firebase Dot, Google dot com, so you can also know from which
company the Firebase is coming from.
It's from Google.
OK, let's begin on.
The Firebase UK will be presented with some some descriptions of backend by Google and load by app development
teams from start ups to global enterprises.
So Firebase is basically cloud service that offers you products, different products.
It offers you database, you can have a Firebase database, you can have a forest or database, you
can have authentication from Firebase and also the other things you can use push notifications to your
phones and so on and so on.
You can you can find all of the services documentation of the Firebase.
For what purpose will it be using a firebase?
It will be for its database.
We'll be using the Firestar database and also we'll be using solutions for authentication.
The Firebase is very easy to integrate to your to your application.
You don't need to create any server for a backend.
You can have everything on in your frontend application.
So the first thing will click here will be go to console.
It would like to go to the console of the Firebase so we can initialize a couple of things.
Ellagic here, English, so I actually don't need but.
I will do it.
OK, so for this to get the fireplace, you need to have a Google account, so please, you don't have
a Google account, you need to register for a free Google account and then you can sign up.
I will do now.
I will sign up now.
Very quickly.
OK, I'm getting locked into the fireplace.
All right, so here is are all of my projects, I have a couple of them for you should be probably empty.
OK, so they are going to create a completely new project or click here at Project OK and go to our
project and name.
In this case, we are working on extension of your application, so I hope I don't have you here any
gingery applications.
So simply select your project name x, uh, change or your.
Exchange your.
X injury was fine for me, if it will not work for you, I should be parking for it because it's automatically
fixing with some, some unique strength after that.
So it should created the project also for you with his name.
If not, you can.
You can choose your own project name.
OK, so do you want to enable Google Analytics for this project?
OK, what do we have to be, do we have some benefits from this for our limited reporting?
OK.
OK.
For this purpose, we can yeah, we can go for analytics, for this project.
Yeah, let's do it.
So I got an account, OK, OK, we'll go with the account, which I have to my Google account, I have
looked in.
Or actually here I was reading it wrong.
You need to configure a Google, a Google Analytics account, and that can be if you don't have it,
yeah, you need to configure it so you can oh, we can go to the previous and we can just simply, but
we can disable it.
We don't really need it, doesn't match this additional thing.
So let's go to create a project without enabling it if you want.
Of course, you can just simply create your Google Analytics account not required and that it will be
creating a project.
As you can see, after that will be in a dashboard of the therapist, and you will see what products
we have there to choose from and what they'll be.
They'll be using in our application.
OK, Firebase is actually very simple to use.
Guys, that's why it's a very nice solution for your startup projects.
Let's go to continue here, it'll be in the dashboard perfect.
What do you want to verify here in UP here is your project name, you will have a spark plan here.
We're going to look at this.
You have different plans to choose from either abatements or the free ones.
OK, so have some quotas for a database from a five star IDs and so on.
If you would like to go see the full plan, let me see here.
Click here.
You know the three plan.
OK, so we have here authentication for the phones, ten thousand amount, ten thousand a month stored
data, one gigabyte the spreadsheet, the more than enough for US network 10 gigabytes a month to documents,
right?
So how many we can how, how much we can write into there.
The base is 10 20 times a day.
That's plenty for us arrays.
We can read the 50000 rates entries of that.
Obey's pretty enough.
And so on and so on.
But you don't have access, for example, to cloud functions.
So they'll be talking about them, and then they have also these things here, but yeah, you can read
it and then have a plants as you go.
Let me see what you are.
Yeah, the everything is a bait.
So yeah, yeah, you are.
You are paying as you go.
So how much data you will use, then that much you pay?
OK, they are going, of course, with the free plan.
OK, so I can close it.
And uh, yeah, that's uh, that's good that we can go to the faster database on the left side.
That's what we'll be using in our project.
So let's click here on the first avatar base should be empty, of course.
And it's empty, and we need to create it, so please click here to create a database.
What we would like to study in is other than the production mode will be, we will likely start in a
testing mode.
So we'll go in a test mode.
You can see here you'll be talking about the URLs later.
But for example, in the production of oil, in the production mode you have here, right?
And the bright you fall so you are basically will be not allowing any of the rights in your applications.
OK.
In a test mode.
They are loading the rights and the rights if they request time is a lesson, the times they date it.
Twenty thousand 2022 Second mounts of February 26, currently the 27 January.
So this means in a test mode for one month, you can freely write and read from a database without any
restrictions.
Later, this will be changed and out there that you cannot access your data base.
Don't worry about that.
They can leave DNA testing, or they can also anchor the time if you want, but we'll leave it like
this for one month and then we will be changing the rules anyway.
In the courts, we will we will be providing here more ground control to do our database, and I will
be talking about these rules even more in the next lecture in the last section of the course.
So don't worry about calling it like this.
You can even I hope we can.
We can tell you later.
OK, so your next.
And after that, we can check your.
We can change your location here after you have set this location, you cannot change to light, so
make sure you choose your location either you are in Europe or you are in the U.S. you can choose the
original ones.
Generally, we can go with a multiyear agent, either U.S. Central or Europe.
I will go with the euro best.
Click here.
Enable.
I will be setting up a now clouds firestorm.
All right, so let's wait a second.
Nobody's done.
You can we can start setting it up in our projects.
OK.
Meanwhile, the setting up, we can open a new tab here and you can search for Firebase npm, Firebase
npm.
OK, so we can communicate with the Firebase database, their old Firebase API from this package, it's
much easier.
So I'll be using this version and you'll be using the version nine you can find here documentation all
the things we need to install.
And so on.
OK, I will guide you through this process, so let's go to your terminal.
Open your tap here.
Open your tap in your exchange, are up and let's right here npm install Firebase and we'll specify
your specific version of Firebase, which I am using currently.
Nine.
Verizon, which is light one, but it can happen to light there.
And of course, later, as the course is, really is that the change the version will change.
So in this case, please use the version as I am using in the course, it will be much easier to follow
the lectures so that if I have a vision nine point six point one like this, so install Firebase nine
point six point one lets press, enter and they'll be installing.
In the meanwhile, meanwhile, it is installing.
We can go back to browser.
We can close this.
And we have our first database, you can see there are no collections, we'll be talking about the collections
later and you have to look at it.
Well, we will keep it empty for now.
OK, so how could the Initialise database here in the project overview here have this?
Option setting settings icon, and let's click this and click here Project Settings.
This will open this up for you.
And you can see there are no ups in the projects like a platform to get started, so here are platforms
to choose iOS, Android Web or Unity.
You've got to be the web.
So there's this icon here.
The third one is this brackets pointy brackets.
Let's click at this point a bracket and you need to choose a nickname for application.
OK, so maybe it already started.
OK, so we are going to the same nickname, OK, so we can also see your options, the nickname will
be used throughout the Firebase console to represent these up nicknames are invisible to users.
So let's go over to injury as we have before exchange for your.
Exchanges are your favorite dish, Firebase or Exchange, are you up or just leave here, the plane
exchange trio or exchange of beef for a firebase?
I will just exchange your tickets there up.
All right, so.
Let's wait a couple of moments.
You can already see here they are offering you a solution, how to integrate it into anti-missile therapies,
which we have done and have been to copy this code and then to paste it into our application.
Perfect.
You can also find the latest there is at these options here.
This configuration of values you can find or select in your project or don't worry if you click somewhere
else now, you will not lose this data.
Let's find out the Firebase has been installed, so go to a terminal.
You're still installing.
OK, still, it's done now.
Can go also to a project to verify that you have it in to your package, so and it should you should
have here.
Faraday's now here is a nine point six point one.
OK.
It's actually a little bit longer because they like to really verify that everything is working for
you guys, so what they are going to do now will copy everything from here is enter code.
Let's copy it and let's go to your applications.
OK, now.
In your SIRC folder.
Let's create a new folder, and let's go to DB where that obeys.
And, you know, they'd be able to create index Dodgers, index dodgers.
So we have a structure SAIC, DB Index Dodgers and Index Dodgers will based his configuration.
Like this, you can enable this comment, you don't need them.
OK.
Initialize fire base.
OK, initially, I'll be done in two separate actually two, it's all to separate variable, we don't
need to do it like we can remove it to initialize Firestarter because we'll be we'll be interacting
with the Firestarter base.
Generally, we need to import about a thing here.
I know that because I have read documentation, so you don't need to read it now.
You can read after about, but you will find the steps in the documentation so you need to import here
or something.
Figure into importer, get firestorm.
Get the fire.
Firestarter from.
Firebase fires or a failure story like this, you look at the fires that are function here and simply
what do you like to do here?
I would like to create the database instance.
All right, here comes the DB and it will be get fire starter.
OK.
That's how we initialize database power so that our basically can communicate with any export default
from here so we can use it in other files a DB.
We can we can also move into the one line that we can just simply export default here.
And I believe this year.
Or like this?
Well, actually, I will do it like this, OK, you cannot export the fall the way I was writing it.
My mistake?
You'll just be OK to name exports so we can.
We can.
We can import like these import DB from and so on and so on.
OK, so export quantity B gets five five-story.
This way, they'll do it this way.
OK, this looks good to test it out, I'll be getting some factor into our DB, we can go to our elections
and some of our actions, we can try it out, we can easily be there and we can cancel out the database.
So go to your actions of an extension module here.
Any actions real important here that our base case somebody up here, let's import at that base in the
curly brackets import ADP from.
Dot dot dot dot dot dot dot dot slash db.
So they are going to this DB folder.
OK, and then down here in the elections, I or just simply cancel out the DB console, look out deep.
Perfect.
Now, let's say with the guys, everything will go to browser, the application will open here, consoles
will be fresh and you should see this object.
And you can see here the these Firestarter.
Application and all this stuff here, and this means that the Firebase has been initialized, you can
also see here that's your application a Project ID to JT or Dash 37 a BD.
That's the idea that has been assigned to my project and I was creating my project.
So if you see these Allgood, maybe you should also see network requests.
I will just clear it out.
I was not sure about making any requests and maybe the firebase in the making in the code was now and
I don't see any firebase because, OK, that's fine.
Important is that you should see how this this object, you are getting it from a database.
Now we can fairly close this.
OK, you can close this and you can find his options always here, and you will go to the This Here
project settings, you can find this in the general, here, general and down here, you can find what
you need to do.
OK?
And is that that they don't have to be necessarily hit an API key?
You can share it.
This is not the secret information because they will be shared anyway in your application, because
this is used as a in the frontend.
Because that's that's the way it is.
All right, so on the left side, you can all the product of the fighter base, as I mentioned, we'll
be using only authentication authentication and the or databases will be the two things we'll be using.
But you have also multiple products.
You can integrate through applications.
Well, I guess so, that's good to be able to see this all the good, and we'll continue in the next
lecture and it will be will be setting up a date diner in a firestorm and it will be trying to get them
in an application that's going to be from these lecture and hopefully I see in the next one year.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.