课程: React: Creating and Hosting a Full-Stack Site
免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
Why Firebase Auth?
- [Instructor] All right, well, as you know, we now have a full stack application that has a front end and backend that are now talking to each other. And this allows users to upvote articles as well as add comments to them. But in order for this application to be truly ready for production, there's a big piece of it that we still have to add. And that piece is user authentication, right? Currently, if we were to publish this site, any user could just go to any page and click the Upvote button as many times as they want, as well as add as many comments as they want. And that's probably something that we'll want to avoid. And so what we're going to do is we're going to add a login and create account page to our application, as well as add some logic to all of these pages here that will take into account whether or not a user is logged into our application. And in addition to this, there's also going to be some things on the backend that we'll have to make changes to. I'll explain that…
内容
-
-
-
-
-
-
-
(已锁定)
Why Firebase Auth?2 分钟 9 秒
-
(已锁定)
Creating a Firebase project1 分钟 43 秒
-
(已锁定)
Adding Firebase Auth to React6 分钟 7 秒
-
(已锁定)
Build a login form8 分钟 51 秒
-
(已锁定)
Build a create account page7 分钟 23 秒
-
(已锁定)
Making interface adjustments for authenticated users6 分钟 8 秒
-
(已锁定)
Creating a custom auth hook9 分钟 3 秒
-
(已锁定)
Adding Firebase Auth to Node.js6 分钟 35 秒
-
(已锁定)
Protecting endpoints using auth tokens4 分钟 33 秒
-
(已锁定)
Protecting the upvote and comment endpoints5 分钟 7 秒
-
(已锁定)
Making requests with auth tokens7 分钟 7 秒
-
(已锁定)
-
-