Hey guys and gurls this is a banger of a tutorial!! I’ll be showing you how to create a login system 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 system with JavaScript, HTML and CSS. Plus Store users to Firebase Database.

Source Code: https://rhymbil.netlify.app/
Firebase: https://firebase.google.com/

Email Validation:

https://masteringjs.io/tutorials/fundamentals/email-validation
/^[^@]+@\w+(\.\w+)+\w$/.test(str);

Database Rules:

https://firebasetutorials.com/firebase-realtime-database-rules/
    "users": {
      "$uid": {
        ".read": "$uid === auth.uid",
        ".write": "$uid === auth.uid"
      }
    }

#javascript #firebase #html #css

Simple Login & Register with Firebase using JavaScript | HTML | CSS
19.80 GEEK