258. Backend (Firebase) Setup
Jul 21, 2026 06:00
· 2:35
· English
· Whisper Turbo
· 2 Oradores
Esta transcrição expira em 7 dias.
Atualização para armazenamento permanente →
A mostrar apenas
0:01
S…
Speaker 1 (258. Backend (Firebase) Setup)
Now, let's dive into using Angular's HTTP features.
0:05
S…
Speaker 2 (258. Backend (Firebase) Setup)
And for that,
0:06
S…
Speaker 1 (258. Backend (Firebase) Setup)
we need a backend.
0:07
S…
Speaker 2 (258. Backend (Firebase) Setup)
Now,
0:08
S…
Speaker 1 (258. Backend (Firebase) Setup)
as I mentioned before,
0:09
S…
Speaker 1 (258. Backend (Firebase) Setup)
we'll not write our own server -side solution here because you would do that
0:13
S…
Speaker 1 (258. Backend (Firebase) Setup)
with a server -side language and not with Angular.
0:15
S…
Speaker 1 (258. Backend (Firebase) Setup)
And therefore,
0:16
S…
Speaker 1 (258. Backend (Firebase) Setup)
this is, of course,
0:17
S…
Speaker 1 (258. Backend (Firebase) Setup)
not the scope of this course.
0:18
S…
Speaker 1 (258. Backend (Firebase) Setup)
By the way,
0:19
S…
Speaker 1 (258. Backend (Firebase) Setup)
if you want to see how to build a complete Angular frontend and a
0:23
S…
Speaker 1 (258. Backend (Firebase) Setup)
custom backend,
0:24
S…
Speaker 1 (258. Backend (Firebase) Setup)
my mean course,
0:25
S…
Speaker 1 (258. Backend (Firebase) Setup)
which you all find here on Udemy,
0:27
S…
Speaker 1 (258. Backend (Firebase) Setup)
or on my page,
0:28
S…
Speaker 1 (258. Backend (Firebase) Setup)
academy .com is a great place to go.
0:31
S…
Speaker 1 (258. Backend (Firebase) Setup)
But here we'll simply use Firebase.
0:33
S…
Speaker 1 (258. Backend (Firebase) Setup)
Firebase sounds like it's a database only.
0:36
S…
Speaker 1 (258. Backend (Firebase) Setup)
Instead, it's a whole backend solution,
0:38
S…
Speaker 1 (258. Backend (Firebase) Setup)
which gives us a REST API as well.
0:40
S…
Speaker 1 (258. Backend (Firebase) Setup)
And it's a perfect solution for this course in this module because it's
0:45
S…
Speaker 1 (258. Backend (Firebase) Setup)
free to get started with and we can send requests there.
0:48
S…
Speaker 1 (258. Backend (Firebase) Setup)
We can send different types of requests.
0:50
S…
Speaker 1 (258. Backend (Firebase) Setup)
We can easily see the changes we make through these requests and we can store
0:54
S…
Speaker 1 (258. Backend (Firebase) Setup)
data there and therefore it's perfect.
0:56
S…
Speaker 1 (258. Backend (Firebase) Setup)
Now you need a Google account for that.
0:58
S…
Speaker 1 (258. Backend (Firebase) Setup)
Once you got that,
0:58
S…
Speaker 1 (258. Backend (Firebase) Setup)
you can go to the console on firebase .com and there
1:03
S…
Speaker 1 (258. Backend (Firebase) Setup)
simply click on add project.
1:05
S…
Speaker 1 (258. Backend (Firebase) Setup)
Now give that project any name you want and you
1:09
S…
Speaker 1 (258. Backend (Firebase) Setup)
can leave the other default settings and then check both
1:13
S…
Speaker 1 (258. Backend (Firebase) Setup)
check marks here.
1:14
S…
Speaker 1 (258. Backend (Firebase) Setup)
Now this will create a new Firebase project for you.
1:17
S…
Speaker 1 (258. Backend (Firebase) Setup)
And again, getting started here is free.
1:19
S…
Speaker 1 (258. Backend (Firebase) Setup)
You can of course check the pricing pages of Firebase to learn what else you can use
1:23
S…
Speaker 1 (258. Backend (Firebase) Setup)
for free and when it would start cost money.
1:26
S…
Speaker 1 (258. Backend (Firebase) Setup)
Now, once this loaded,
1:27
S…
Speaker 1 (258. Backend (Firebase) Setup)
you'll see an interface that looks something like this.
1:29
S…
Speaker 1 (258. Backend (Firebase) Setup)
And here we'll go to database.
1:31
S…
Speaker 1 (258. Backend (Firebase) Setup)
Now again,
1:31
S…
Speaker 1 (258. Backend (Firebase) Setup)
Firebase is not just a database.
1:34
S…
Speaker 1 (258. Backend (Firebase) Setup)
It's a complete backend solution that also offers a database,
1:38
S…
Speaker 1 (258. Backend (Firebase) Setup)
but it's not just a database.
1:40
S…
Speaker 1 (258. Backend (Firebase) Setup)
It's not an alternative to MongoDB or anything like that.
1:43
S…
Speaker 1 (258. Backend (Firebase) Setup)
It's more than a database.
1:44
S…
Speaker 1 (258. Backend (Firebase) Setup)
It's a complete backend service.
1:46
S…
Speaker 2 (258. Backend (Firebase) Setup)
Now here,
1:47
S…
Speaker 1 (258. Backend (Firebase) Setup)
we'll not use Cloud Firestore,
1:49
S…
Speaker 1 (258. Backend (Firebase) Setup)
but instead,
1:50
S…
Speaker 1 (258. Backend (Firebase) Setup)
if you scroll down,
1:50
S…
Speaker 1 (258. Backend (Firebase) Setup)
we'll use that real -time database.
1:52
S…
Speaker 1 (258. Backend (Firebase) Setup)
It's a bit easier to use and gives us a nicer visual feedback.
1:55
S…
Speaker 1 (258. Backend (Firebase) Setup)
So click on Create Database here and important,
1:58
S…
Speaker 1 (258. Backend (Firebase) Setup)
start in test mode.
2:00
S…
Speaker 1 (258. Backend (Firebase) Setup)
That's important.
2:01
S…
Speaker 1 (258. Backend (Firebase) Setup)
Later,
2:02
S…
Speaker 1 (258. Backend (Firebase) Setup)
we will add authentication,
2:03
S…
Speaker 1 (258. Backend (Firebase) Setup)
but for now,
2:04
S…
Speaker 1 (258. Backend (Firebase) Setup)
we'll use that test mode to be able to send requests and work with data without
2:08
S…
Speaker 1 (258. Backend (Firebase) Setup)
being restricted.
2:09
S…
Speaker 1 (258. Backend (Firebase) Setup)
Normally you are of course protecting against unwanted access.
2:13
S…
Speaker 1 (258. Backend (Firebase) Setup)
Here we are temporarily disabling this so that we can interact with that
2:17
S…
Speaker 1 (258. Backend (Firebase) Setup)
without issues.
2:18
S…
Speaker 2 (258. Backend (Firebase) Setup)
Now,
2:19
S…
Speaker 1 (258. Backend (Firebase) Setup)
and that is our basic setable need.
2:21
S…
Speaker 1 (258. Backend (Firebase) Setup)
The URL you see here will already be the URL you
2:25
S…
Speaker 1 (258. Backend (Firebase) Setup)
can send requests to.
2:26
S…
Speaker 1 (258. Backend (Firebase) Setup)
So let's do that and let's make sure that we now use that to store
2:31
S…
Speaker 1 (258. Backend (Firebase) Setup)
data by sending a POST request.
Essa transcrição foi gerada pela IA (reconhecimento automático de fala). Pode conter erros — verificar contra o áudio original para uso crítico. Política de IA
Resumo
Clique em Summarize para gerar um resumo de IA desta transcrição.
Resumindo...
Pergunte à IA sobre este Transcrito
Pergunte qualquer coisa sobre esta transcrição — a IA vai encontrar seções relevantes e resposta.