Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

Firebase In Depth

Tìm Hiểu Chuyên Sâu Về Firebase

Tìm Hiểu Chuyên Sâu Về Firebase

Phát Triển Full-stack với Firebase, Firestore, Firebase Storage & Hosting, Firebase Cloud Functions & AngularFire

4.3
(1,617 đánh giá)
12,344 học viên
Giảng viên
Angular University
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 349.000đ -86%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
10.0 giờ video
70 bài giảng
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 30/05/2026

Bạn sẽ học được gì

Mã nguồn trên Github, có file ZIP tải xuống cho từng phần
Hướng dẫn chi tiết về Cơ sở dữ liệu NoSQL Firestore
Ví dụ Hoàn Chỉnh về CRUD Serverless có Giao dịch
Xác thực bằng Email và Mạng Xã hội với Firebase Authentication
Phân quyền RBAC (Dựa trên Vai trò) Đầy đủ với Firestore Security Rules
Tải lên File An toàn trên Serverless với Firebase Storage
Dịch vụ Hosting hiệu năng cao, SSL miễn phí với Firebase Hosting
Kích hoạt Cơ sở dữ liệu với Firebase Cloud Functions
Tạo REST Endpoints Bảo mật với Firebase Cloud Functions
Thiết kế Kiến trúc Serverless
Phát triển Angular Serverless với AngularFire
Giải pháp Xác thực Tích hợp Hoàn chỉnh: Firebase UI
Triển khai Lên Môi trường Production Đầy đủ

Yêu cầu

Chỉ cần một chút kiến thức về Angular và Typescript

Đối tượng phù hợp

Dành cho Lập trình viên muốn tìm hiểu hệ sinh thái Firebase từ đầu
Lập trình viên Angular tìm kiếm backend tốt nhất để kết hợp với Angular

Nội dung khóa học

7 phần • 70 bài giảng
1 Tổng quan Chuyên sâu về Firebase & AngularFire
2 QUAN TRỌNG
3 Giới thiệu Khóa học và Thiết lập Môi trường Phát triển
4 Thiết lập Tài khoản Firebase và Điền dữ liệu vào Cơ sở dữ liệu Firestore
5 Kiến thức Cơ bản Firestore - Firestore Document là gì?
6 Kiến thức Cơ bản Firestore - Collections, Định danh Duy nhất và Quan hệ
7 Kiến thức Cơ bản Firestore - Giới thiệu Truy vấn Collection bằng AngularFire
8 Kiến thức Cơ bản Firestore - Đảm bảo Hiệu suất và Chỉ mục (Indexes)
9 Kiến thức Cơ bản Firestore - Truy vấn Collection Group
10 Kiến thức Cơ bản Firestore - Tính năng Thời gian Thực
1 Giới thiệu Phần mới - Bắt đầu Triển khai Home Component
2 Ví dụ về Truy vấn Firestore array-contains
3 Chuyển đổi Kết quả Truy vấn Firestore sang Mô hình Miền (Domain Model)
4 Hoàn thiện Triển khai Home Component
5 Firebase Local Emulator - Tại sao chúng ta cần nó?
6 Thiết lập Dự án Firebase với lệnh firebase init
7 Giới thiệu Firebase Local Emulator
8 Ví dụ CRUD AngularFire - Form Tạo Khóa học
9 AngularFire CRUD Create Service - Thiết kế API
10 AngularFire CRUD Create - Triển khai Service
11 AngularFire CRUD Update - Triển khai Service
12 AngularFire CRUD Update - Xây dựng Hộp thoại Chỉnh sửa Khóa học
13 AngularFire CRUD Update - Triển khai Cuối cùng và Demo
14 AngularFire CRUD Delete - Triển khai và Demo
15 Hiểu về Ghi theo Lô (Batched Writes) có Giao dịch trong Firestore
16 Màn hình Khóa học - Tải trước Dữ liệu với Course Resolver
17 Màn hình Khóa học - Triển khai Router Resolver và Demo
18 Cách Triển khai Truy vấn Phân trang trong Firestore
19 Ví dụ Phân trang Dữ liệu Firestore - Kết thúc Triển khai và Demo
1 Giới thiệu Firebase Authentication
2 Triển khai Xác thực bằng Firebase UI
3 Triển khai Angular User Service - Thiết kế API
4 User Service - Điều chỉnh Giao diện theo Trạng thái Xác thực Người dùng
5 Giới thiệu Firestore Security Rules
6 Kiến thức Cơ bản Firestore Security Rules - Quy tắc Lồng nhau (Nested Rules)
7 Kiến thức Cơ bản Firestore Security Rules - Thứ tự Quy tắc và Loại Truy cập
8 Kiểm tra Người dùng đã Xác thực bằng Firestore Security Rules
9 Triển khai Xác thực Cấu trúc Dữ liệu (Schema Validation) với Firestore Security Rules
10 Cách Triển khai Danh sách Trắng Người dùng bằng Firestore Security Rules
11 Triển khai Kiểm soát Truy cập Dựa trên Vai trò (RBAC) với Firestore Security Rules
12 Cách Viết Security Rules cho Truy vấn Collection Group
13 Triển khai Giao diện RBAC - Roles Observable
14 Chỉ hiển thị một số Tính năng Giao diện cho Người dùng Quản trị viên
15 Bảo vệ Truy cập vào Màn hình Quản trị với AngularFire Authentication Guard
1 Giới thiệu Firebase Storage
2 Tải lên File với Firebase Storage - Hoàn thành Triển khai và Demo
3 Triển khai Chỉ báo Tiến trình Tải lên File cho Firebase Storage
4 Cách Tạo URL Tải xuống An toàn trong Firebase Storage
5 Firebase Storage Security Rules
1 Tại sao Chúng ta Cần Firebase Cloud Functions?
2 Firebase Cloud Functions Hoạt động Như thế nào?
3 Firebase Cloud Functions - Hello World
4 Firebase Cloud Functions - Giới thiệu về Database Triggers
5 Cách Khởi tạo Kết nối Firestore từ một Firebase Cloud Function
6 Triển khai Add Document Trigger trong Firebase Cloud Functions
7 Cách Giảm thiểu Thời gian Khởi động "Cold Start" của Firebase Cloud Functions
8 Firebase Cloud Functions - Update Triggers
9 Firebase Cloud Functions - Delete Trigger
10 Cách Tạo một HTTP Endpoint với Firebase Cloud Functions
11 Gọi một REST Endpoint của Firebase Cloud Function
12 Triển khai REST Endpoint Tạo Người dùng với Firebase Cloud Functions
13 Thiết lập Angular Http Interceptor
14 Bảo mật Endpoint Firebase Cloud Function bằng Express Middleware
15 Firebase Cloud Functions Secure REST Endpoint - Demo Cuối cùng
1 Giới thiệu về Firebase Service Accounts
2 Thiết lập Claims cho Quản trị viên Gốc Ban đầu bằng Node Script
3 Triển khai Lên Production với Firebase Hosting
4 Kiểm tra Ứng dụng Cuối cùng trên Môi trường Production
1 Bài giảng Bổ sung (Cập nhật Tháng 2 năm 2026)
2 Tổng kết và Những Điểm Chính

Giới thiệu khóa học

This Course in a Nutshell

If you are looking for the best backend to go along with your Angular frontend, then the Firebase ecosystem (with the Firestore NoSQL database) is the right choice for you.

Today, it's simpler than ever to develop Firebase applications thanks to the latest Firebase development tools, including the awesome local emulator (covered in detail in the course).

Firebase allows us to build applications in a mostly serverless way, in the sense that when using it we only have to write a little bit of server-side code, if any at all in a lot of cases.

With Firebase, we can not only query our database but also do data modification operations straight from the browser, in a secure way. So how is this possible?

The way that this works is that the Firestore database enables us to declaratively accept or deny incoming requests using Firestore Security Rules.

A key ingredient for this to work is Firebase Authentication, which we will cover in detail in this course. Firebase is, of course, frontend agnostic, meaning that it will work with any frontend technology. So why does it work especially well with Angular?

This is due to the powerful AngularFire library, which allows us to easily query and modify Firestore data in a reactive way using the AngularFire Observable-based API.

Besides Firestore, the Firebase ecosystem provides everything else that you need for building a fully functioning backend solution. This includes secure file upload via Firebase Storage and the hosting of your static files via Firebase Hosting.

For the rare cases when you need some server-side code, you can do that too in Firebase using Firebase Cloud Functions, which are node-based stateless functions running on the Google Cloud infrastructure.

Using Cloud Functions, you can implement server-only functionality like database triggers, or even REST endpoints for operations that can only be done on the server, such as user creation, or payments.

The Firebase ecosystem provides a complete solution for quickly building the backend of your web application, allowing you to focus more of your development time on the frontend.

Course Overview

In this course, we are going to take a sample Angular application and we are going to connect it to a Firestore database. We will learn how to do all sorts of database queries and we will provide a complete CRUD example using AngularFire.

We will set up the local development emulator from the very beginning, which will allow us to use a local database with predefined authentication users and some initial data.

The emulator will also allow us to test cloud functions locally as well as security rules, which is super convenient.

From there, we are going to add security to the application, starting with authentication using Firebase Authentication. We will implement both email and password and social login using the Firebase UI library.

We are also going to implement role-based authorization using Firebase Authentication custom claims and the AngularFire Authentication router guard.

We will implement an administration screen that allows an existing administrator to create other users, including other administrators in a secure way.

For this, we will need some backend code, so we will be using Firebase Cloud Functions for that. We will also show how to use Cloud Functions to implement other commonly used backend features, such as database triggers.

We will show how to do secure file upload of an image thumbnail using Firebase Storage.

We will end the course by doing a full production deployment using Firebase Hosting, and testing everything out in a non-emulated production environment.

Table of Contents

This course will go over the following topics:

  • Introduction to NoSQL data modeling

  • Documents vs Collections

  • Firestore Unique Identifiers

  • Querying a database using the Firebase SDK

  • Angular Service Layer Design with AngularFire

  • Pagination

  • Indexes, Composite Indexes

  • Data Modification with AngularFire

  • Transactions

  • Multi-path Updates

  • Full CRUD example with AngularFire

  • Authentication with Firebase Authentication

  • Protecting screens with the AngularFire Authentication guard

  • Securing Database access with Firebase Security Rules

  • Full role-based authorization using Firebase Authentication custom claims

  • Secure file upload with Firebase Storage

  • Firebase Storage Rules

  • Server-side image processing with Firebase Cloud Functions

  • Firebase Cloud Functions Database Triggers

  • Firebase Could Functions HTTP endpoints

  • Cloud Functions Service Accounts

  • Production Deployment with Firebase Hosting

What Will You Learn In this Course?

In this course, you will learn everything that you need to know to become a proficient Firebase developer. You will understand how to model a Firestore database, and how to interact with it using AngularFire.

You will know how to implement secure, transactional data modification queries straight from the frontend using the AngularFire Observable-based API. You will know how to secure your data using Firestore Security rules, and how to implement role-based Authorization.

You will learn how to design your system in order for it to need minimum backend code, that when necessary can be implemented using Firebase Cloud Functions.

At the end of the course, you will feel confident designing and developing applications in a serverless way using the complete Firebase ecosystem.

Have a look at the course free lessons below, and please enjoy the course!

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Angular
Hiển thị tất cả khoá học Firebase
Hiển thị tất cả khoá học Mobile Development
Hiển thị tất cả khoá học Web Development
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊