Install Angular CLI, Ignore if already installed.
npm install -g @angular/cli
Next, create Angular 12 application.
Use the given below cmd to setup the Angular project.
ng new angularfiebase-authentication
Once the project is downloaded, get into the project directory.
cd angularfirebase-authentication
Install Bootstrap CSS Framework in Angular 12 application.
npm install bootstrap
Go to angular.json file and replace the given below code with “styles”: [ ] array.
"styles": [
"node_modules/bootstrap/dist/css/bootstrap.min.css",
"src/styles.css"
] Build Angular 12 Firebase Authentication system
How to setup a basic Firebase account and set up a Firebase Project?
Install AngularFire2 Package
Generate Angular Components
Create Firebase Authentication Service
Create Angular Login with Firebase API
User Registration with Angular 12 Firebase
Angular 12 Forgot Password with Firebase
Use Route Guards to Protect Angular Routes
Manage Firebase User Authentication State with LocalStorage