Рет қаралды 137,777
Hey guys and gurls this is a banger of a tutorial!! I'll be showing you how to create a login system with Firebase Authentication that saves users to Firebase Realtime Database. Not only will it login users but we have a register function that updates our database with new data.
Sit back because this is how to make a simple login & register with Firebase authentication using JavaScript, HTML and CSS. Plus Store users to Firebase Database.
Source Code: rhymbil.netlif...
Firebase: firebase.googl...
Background Beat: • Dope Sampled Soulful F...
Email Validation:
masteringjs.io...
/^[^@]+@\w+(\.\w+)+\w$/.test(str);
Database Rules:
firebasetutori...
"users": {
"$uid": {
".read": "$uid === auth.uid",
".write": "$uid === auth.uid"
}
}