课程: React: Creating and Hosting a Full-Stack Site

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

Why Firebase Auth?

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…

内容