Firebase In Depth

所在平台: Udemy

课程主页: https://www.udemy.com/course/firebase-course/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:Firebase 深入解析 课程概述: 如果您正在寻找与Angular前端配合使用的最佳后端,那么Firebase生态系统(包括Firestore NoSQL数据库)是您的最佳选择。本课程将帮助您了解如何利用最新的Firebase开发工具(包括本地模拟器)轻松开发Firebase应用程序。Firebase允许我们以几乎无服务器的方式构建应用程序,通常只需编写少量服务器端代码。使用Firebase,我们不仅可以查询数据库,还可以通过浏览器直接进行安全的数据修改。 课程内容: 本课程将以一个示例Angular应用程序为基础,将其连接到Firestore数据库。我们将学习各种数据库查询,并提供一个完整的CRUD示例。课程初始将设置本地开发模拟器,使用预定义的身份验证用户和初始数据。我们会逐步添加安全性,从Firebase Authentication开始,实现电子邮件、密码和社交登录。此外,我们将实施基于角色的授权,创建用户管理界面,并使用Firebase Cloud Functions来处理所需的后端代码和数据库触发器。 课程将包括以下主题: - NoSQL数据建模基础 - 文档与集合的区别 - 使用Firebase SDK进行数据库查询 - 使用AngularFire的Angular服务层设计 - 数据修改与事务处理 - 完整的CRUD示例 - Firebase Authentication的安全认证 - 保护屏幕与安全规则 - 安全的文件上传与存储 - Firebase Cloud Functions的用法 - 生产环境部署与测试 学习成果: 通过本课程,您将掌握成为熟练Firebase开发者所需的所有技能,包括Firestore数据库模型设计、使用AngularFire与数据库交互、实现安全的事务性数据修改查询,以及如何使用Firebase Cloud Functions来实现最小化的后端代码需求。 欢迎您观看课程的免费课程内容,并享受学习过程!

课程评论(0条)

课程详情

This Course in a NutshellIf 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 OverviewIn 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 ContentsThis course will go over the following topics:Introduction to NoSQL data modelingDocuments vs CollectionsFirestore Unique IdentifiersQuerying a database using the Firebase SDKAngular Service Layer Design with AngularFirePaginationIndexes, Composite IndexesData Modification with AngularFireTransactionsMulti-path UpdatesFull CRUD example with AngularFireAuthentication with Firebase AuthenticationProtecting screens with the AngularFire Authentication guardSecuring Database access with Firebase Security RulesFull role-based authorization using Firebase Authentication custom claimsSecure file upload with Firebase StorageFirebase Storage RulesServer-side image processing with Firebase Cloud FunctionsFirebase Cloud Functions Database TriggersFirebase Could Functions HTTP endpointsCloud Functions Service AccountsProduction Deployment with Firebase HostingWhat 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!

课程标签

0人关注该课程

主题相关的课程