Closed senner007 closed 4 years ago
If we are to use any of the database services from firebase I would rather consider firestore, their document datastore.
You can define the auth rules in the console or a .rules
file. but I guess we have to use MySQL?
Let's go with mysql then. They already know how to use it
Create authentication based @senner007's video with a firebase and react example. https://1drv.ms/v/s!AoI-8hQGtXUmnH6BnMzKNhd5uNci?e=ppJwdQ It is using this repo : https://github.com/senner008/Firebase-React-Express.git so start by cloning this. Also check out the resources for links to docs on firebase https://github.com/HackYourFuture-CPH/React/tree/class11/resources
Use the LoginForm component on the LoginPage - check here https://github.com/HackYourFuture-CPH/FP-class11/issues/1
Firebase for authentication with backend verification. Pretty much all of it explained in this article. https://dev.to/emeka/securing-your-express-node-js-api-with-firebase-auth-4b5f
Mysql is then used for the content db. Alternatively we could use what they call Realtime database, which is more than a db. Built-in Websockets and I believe hardbound to the authentication system, afaik 🤔